Skip to content

Instantly share code, notes, and snippets.

@nitsujw
Created September 25, 2008 18:46
Show Gist options
  • Save nitsujw/12892 to your computer and use it in GitHub Desktop.
Save nitsujw/12892 to your computer and use it in GitHub Desktop.
irb(main):030:0* tea.title
=> "should have 4"
irb(main):031:0> tea.update_attributes(:title => "NEW")
~ UPDATE `teas` SET `title` = 'NEW' WHERE (`id` = 22)
=> true
irb(main):032:0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment