Dear All, I got az error message with the svn version of Camping under FastCGI NoMethodError undefined method `user_id'' for {"user_id"=>2}:HashWithIndifferentAccess: The call was a simple "User.find @state.user_id" in my login controller... The following libraries are loaded manually: action_controller, action_view, mime/types, camping, camping/mab, camping/db, redcloth, erubis, htmlentities. With the old gem version and running on localhost with the camping command works everything fine. Greetings, Bence -- Nagy Bence -> Tipogr?l | www.tipogral.hu -> Tipokert | www.tipokert.hu -> Dekk | www.dekk.hu -> Magyar Grafika | www.mgonline.hu -> H?rkapu | www.hirkapu.hu
Jonas Pfenniger
2007-Oct-15 12:24 UTC
Something is wrong with Camping::H in the svn version
Hi Nagy, you should drop your session table once. Camping::H now inherits from Hash but your sessions data still use HashWithIndifferentAccess. -- Cheers, zimbatm
Dear zimbatm,> you should drop your session table once. Camping::H now inherits from > Hash but your sessions data still use HashWithIndifferentAccess. >problem solved... Thanks! Greetings, Bence -- Nagy Bence -> Tipogr?l | www.tipogral.hu -> Tipokert | www.tipokert.hu -> Dekk | www.dekk.hu -> Magyar Grafika | www.mgonline.hu -> H?rkapu | www.hirkapu.hu