I changed the owner of the whole app directory to www.
Up vote 1 down vote favorite share g+ share fb share tw.
I've got a very strange issue, which arose quite unexpectedly during testing/bugfixing on my production environment (FreeBSD/Apache/Passenger/MySQL): $ tail log/production. Log Started GET "/users/sign_up" for 192.168.5.7 at 2011-08-06 21:37:53 +0400 Processing by Devise::RegistrationsController#new as SQL (1.5ms) SHOW TABLES Completed in 15ms NoMethodError (undefined method `new_with_session' for #): app/controllers/registrations_controller. Rb:71:in `build_resource' app/controllers/registrations_controller.
Rb:8:in `new' User management is organized with Devise gem. What else can I do? Why did this problem appear?
Thanks VERY MUCH to any input in advance! Ruby-on-rails devise nomethoderror link|improve this question edited Aug 8 '11 at 9:40 asked Aug 8 '11 at 9:12user88367262.
I changed the owner of the whole app directory to www $ chown -R www data (didn't help at that moment though) Then, updated previously downgraded (during the bug hunt) Devise to the latest 1.4.2 version with $ bundle update Then it all helped. I think (though I don't understand why) that the owner of the files should be the same owner as the owner of httpd process (check with $ ps aux | grep httpd ). Hopefuly it will help someone.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.