Skip to content

Instantly share code, notes, and snippets.

@rosslazer
Created February 24, 2013 05:27
Show Gist options
  • Save rosslazer/5022741 to your computer and use it in GitHub Desktop.
Save rosslazer/5022741 to your computer and use it in GitHub Desktop.
Parameters: {"_json"=>[{"broken_description"=>nil, "category"=>nil, "checked_out"=>false, "created_at"=>"2013-02-24T05:05:16Z", "donor"=>nil, "donor_email"=>nil, "id"=>1, "location_id"=>nil, "name"=>"NEWTOOL", "qr_code"=>"newT", "return_date"=>nil, "returnable"=>nil, "updated_at"=>"2013-02-24T05:05:16Z", "user_id"=>nil, "working"=>nil}], "api"=>{"_json"=>[{"broken_description"=>nil, "category"=>nil, "checked_out"=>false, "created_at"=>"2013-02-24T05:05:16Z", "donor"=>nil, "donor_email"=>nil, "id"=>1, "location_id"=>nil, "name"=>"NEWTOOL", "qr_code"=>"newT", "return_date"=>nil, "returnable"=>nil, "updated_at"=>"2013-02-24T05:05:16Z", "user_id"=>nil, "working"=>nil}]}}
WARNING: Can't verify CSRF token authenticity
(0.2ms) BEGIN
SQL (0.5ms) INSERT INTO "tools" ("broken_description", "category", "checked_out", "created_at", "donor", "donor_email", "location_id", "name", "qr_code", "return_date", "returnable", "updated_at", "user_id", "working") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING "id" [["broken_description", nil], ["category", nil], ["checked_out", false], ["created_at", Sun, 24 Feb 2013 05:24:45 UTC +00:00], ["donor", nil], ["donor_email", nil], ["location_id", nil], ["name", nil], ["qr_code", nil], ["return_date", nil], ["returnable", nil], ["updated_at", Sun, 24 Feb 2013 05:24:45 UTC +00:00], ["user_id", nil], ["working", nil]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment