Created
October 4, 2013 10:22
-
-
Save morhekil/6823895 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
2.0.0 (main):0 > Genre.new.my_transation_method | |
nil | |
2.0.0 (main):0 > Genre.last | |
nil | |
2.0.0 (main):0 > |
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
(0.1ms) BEGIN | |
SQL (21.0ms) INSERT INTO `genres` (`name`) VALUES ('The New World') | |
(5.4ms) ROLLBACK | |
Genre Load (2.8ms) SELECT `genres`.* FROM `genres` ORDER BY `genres`.`id` DESC LIMIT 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What adapter are you on? Postgres?