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

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