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
On Monday, May 16, 2011 9:05:10 AM UTC-6, dhayalan wrote:
“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