output with SQL failing to enter the correct values
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
Started POST "/rental_agreements" for 127.0.0.1 at 2012-12-20 19:19:29 -0500 | |
Processing by RentalAgreementsController#create as HTML | |
Parameters: {"utf8"=>"✓", "authenticity_token"=>"yfiXJUvhXm/8XsmLwNLOYOIVHulcZdQ7dadhvhvAHfo=", "rental_agreement"=>{"term_start"=>"12-15-2012", "term_end"=>"12-19-2013", "agreed_price"=>"", "owner_id"=>"23", "tool_id"=>"1", "borrower_id"=>"23", "agreed_terms"=>"1"}, "commit"=>"Send Rental Proposal to Owner"} | |
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 23 LIMIT 1 | |
(0.1ms) begin transaction | |
SQL (1.0ms) INSERT INTO "rental_agreements" ("agreed_price", "agreed_terms", "approved", "borrower_id", "created_at", "owner_id", "term_duration_hours", "term_end", "term_start", "tool_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["agreed_price", nil], ["agreed_terms", "1"], ["approved", nil], ["borrower_id", 23], ["created_at", Fri, 21 Dec 2012 00:19:29 UTC +00:00], ["owner_id", 23], ["term_duration_hours", nil], ["term_end", nil], ["term_start", nil], ["tool_id", 1], ["updated_at", Fri, 21 Dec 2012 00:19:29 UTC +00:00]] | |
(0.5ms) commit transaction | |
Redirected to http://localhost:3000/rental_agreements/41 | |
Completed 302 Found in 10ms (ActiveRecord: 1.9ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment