Created
October 17, 2018 05:11
-
-
Save m-nakamura145/0d02fcff568d824f6dac14c1ec8c144c to your computer and use it in GitHub Desktop.
This file contains 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
[16] pry(main)> rsv.update_columns(status: 2) | |
Reservation Update (4.4ms) UPDATE `reservations` SET `status` = 2 WHERE `reservations`.`id` = 1 | |
=> true | |
[17] pry(main)> rsv.previous_changes | |
=> {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment