Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> user = User.new :user => "adam", :password => "henry", :password_confirm => "henry"
- NoMethodError: undefined method `user=' for #<User:0x3398714>
- from /opt/local/lib/ruby/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:1860:in `method_missing'
- from /opt/local/lib/ruby/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:1675:in `send'
- from /opt/local/lib/ruby/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:1675:in `attributes='
- from /opt/local/lib/ruby/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:1674:in `each'
- from /opt/local/lib/ruby/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:1674:in `attributes='
- from /opt/local/lib/ruby/gems/gems/activerecord-1.15.6/lib/active_record/base.rb:1508:in `initialize_without_callbacks'
- from /opt/local/lib/ruby/gems/gems/activerecord-1.15.6/lib/active_record/callbacks.rb:225:in `initialize'
- from (irb):2:in `new'
- from (irb):2
- >>
Add Comment
Please, Sign In to add comment