Created
March 25, 2014 16:17
-
-
Save aep/9765344 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
aep@nightbringer: ~/proj/airbacon/airbeacon rails console | |
Loading development environment (Rails 4.0.2) | |
irb(main):001:0> User.create(app_id:123).token | |
(39.9ms) BEGIN | |
+++++++++++MAKING TOKEN! | |
SQL (125.5ms) INSERT INTO "users" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 123], ["created_at", Tue, 25 Mar 2014 16:16:57 UTC +00:00], ["updated_at", Tue, 25 Mar 2014 16:16:57 UTC +00:00]] | |
(42.2ms) COMMIT | |
=> nil | |
irb(main):002:0> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment