Created
September 25, 2008 18:46
-
-
Save nitsujw/12892 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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