Started POST "/institution/receipts/product_update" for 127.0.0.1 at 2017-08-30 17:39:52 +0300
Processing by Institution::ReceiptsController#product_update as */*
Parameters: {"id"=>1674, "count"=>10, "receipt"=>{"id"=>1674}}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users"."id", "users"."username", "users"."userable_type", "users"."userable_id" FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Unpermitted parameters: :id, :receipt
[1m[35m (1.5ms)[0m [1m[33m UPDATE receipt_products SET count=10 WHERE id = 1674
[0m
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 2.0ms)
-z, --null-data
Treat the input as a set of lines, each terminated by a zero byte (the ASCII
NUL character) instead of a newline. Like the -Z or --null option, this option
can be used with commands like sort -z to process arbitrary file names.