ruby on rails - Simple_captcha image not getting displayed -
captcha image not displayed on ui, instead shows simple_captcha.jpg. when try access image through url following error:-
"postscript delegate failed /tmp/magick-xxkdifrg': @ error/ps.c/readpsimage/779:
(null)'"
thanks, anubhaw
with rails 3 simple_captcha gem work if change application's route.rb file, example:
yourapp::application.routes.draw #... match 'simple_captcha/:id', :to => 'simple_captcha#show', :as => :simple_captcha #... end
otherwise produces no image cause doesn't arrive gem's controller.
Comments
Post a Comment