Guest User

Untitled

a guest
May 20th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. sal@Dogmatix:~/rails/raindance$ ruby script/console
  2. Loading development environment (Rails 2.0.2)
  3. >> person = Person.new(:first_names => 'Test', :last_name => 'McTest')
  4. => #<Person id: nil, first_names: "Test", last_name: "McTest", created_at: nil, updated_at: nil>
  5. >> person.save
  6. => true
  7. >> person.id
  8. => nil
Add Comment
Please, Sign In to add comment