Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sal@Dogmatix:~/rails/raindance$ ruby script/console
- Loading development environment (Rails 2.0.2)
- >> person = Person.new(:first_names => 'Test', :last_name => 'McTest')
- => #<Person id: nil, first_names: "Test", last_name: "McTest", created_at: nil, updated_at: nil>
- >> person.save
- => true
- >> person.id
- => nil
Add Comment
Please, Sign In to add comment