Dhayalan Karunakaran
2011-May-16 15:05 UTC
NoMethodError: undefined method `acts_as_state_machine''
Hello All, Am upgrading my rails app from rails 2.1.0 to 2.3.11, while login am facing bug for login am using code "self.current_user User.authenticate(params[:login], params[:password])" Bug: "NoMethodError: undefined method `acts_as_state_machine'' for #<Class:0xb5dbb874>" Can anyone help me out. Thanks in advance --- Thanks & Regards, I.J.K.Dhayalan +91-9344626897 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Kendall Gifford
2011-May-16 20:52 UTC
Re: NoMethodError: undefined method `acts_as_state_machine''
On Monday, May 16, 2011 9:05:10 AM UTC-6, dhayalan wrote:> > Hello All, > > Am upgrading my rails app from rails 2.1.0 to 2.3.11, while login am facing > bug > > for login am using code "self.current_user = > User.authenticate(params[:login], params[:password])" > > Bug: > > "NoMethodError: undefined method `acts_as_state_machine'' for > #<Class:0xb5dbb874>" > >Looks like your installation of the acts_as_state_machine plugin got "nuked" or "unplugged" as part of your upgrade. You''ll need to reinstall the plugin. Check out the website for further information and to determine how and what version to (re)install: http://www.agilewebdevelopment.com/plugins/acts_as_state_machine -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.