Skip to content

Instantly share code, notes, and snippets.

@axilaris
Created February 20, 2014 07:17
Show Gist options
  • Save axilaris/9108504 to your computer and use it in GitHub Desktop.
Save axilaris/9108504 to your computer and use it in GitHub Desktop.
Started POST "/comments" for 127.0.0.1 at 2014-02-20 15:17:29 +0800
Processing by CommentsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"e5H/BFDMZgm95XBV+vViasyFIQdSZ7qKflZqEEHN8kY=", "comment"=>{"user_id"=>"1", "comments_text"=>"test"}, "commit"=>"Create Comment"}
Unpermitted parameters: user_id
(0.2ms) BEGIN
SQL (0.6ms) INSERT INTO "comments" ("comments_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["comments_text", "test"], ["created_at", Thu, 20 Feb 2014 07:17:29 UTC +00:00], ["updated_at", Thu, 20 Feb 2014 07:17:29 UTC +00:00]]
(0.6ms) COMMIT
Redirected to http://localhost:3000/comments/6
Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment