Hi everyone, I am trying to implement the restful_authentication plug in with --include-activation and --stateful options. Installed the plug in acts_as_sate_machine also. But when I am trying to save the user model I get an error NoMethodError in UsersController#create undefined method `to_sym'' for #<State:0x668b52c> RAILS_ROOT: E:/INSTAN~1/rails_apps/nanny_project Application Trace | Framework Trace | Full Trace E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/attribute_methods.rb:205:in `method_missing'' E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations/association_proxy.rb:125:in `send'' E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations/association_proxy.rb:125:in `method_missing'' vendor/plugins/acts_as_state_machine/lib/acts_as_state_machine.rb:146:in `current_state'' vendor/plugins/acts_as_state_machine/lib/acts_as_state_machine.rb:89:in `next_states'' vendor/plugins/acts_as_state_machine/lib/acts_as_state_machine.rb:89:in `select'' vendor/plugins/acts_as_state_machine/lib/acts_as_state_machine.rb:89:in `next_states'' vendor/plugins/acts_as_state_machine/lib/acts_as_state_machine.rb:93:in `fire'' vendor/plugins/acts_as_state_machine/lib/acts_as_state_machine.rb:201:in `register!'' app/controllers/users_controller.rb:21:in `create'' What may be reason? do we need to write some thing extra for including --stateful option with restful_authentication plugin. I am newbie in ROR and using these for the first time. Please help. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---