sferik/rails_admin — Issue #822: 406 Not Acceptable on PUT
Author: krazylegz
Created: 2011-11-09 15:51:53+00:00
State: open

This seems to indicate an issue with a respond_to section?

Started PUT "/admin/formats/1/edit" for 204.108.238.206 at Wed Nov 09 10:57:29 -0500 2011
Processing by RailsAdmin::MainController#update as
Parameters: {"authenticity_token"=>"T6zSPe7pQ5+xqENevsAuXXWRpp6boW1YXANd/l/+EZk=", "utf8"=>"✓", "model_name"=>"formats", "id"=>"1", "_save"=>""}
User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
Format Load (0.6ms) SELECT `formats`.* FROM `formats` WHERE `formats`.`id` = 1 LIMIT 1
Encode Load (0.5ms) SELECT `encodes`.* FROM `encodes` WHERE `encodes`.`format_id` = 1
Encode Load (0.7ms) SELECT `encodes`.* FROM `encodes` WHERE `encodes`.`id` IN (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14)
SQL (0.0ms) BEGIN
(0.0ms) COMMIT
SQL (0.0ms) BEGIN
(0.3ms) UPDATE `formats` SET `requirements` = 'some requirements' WHERE `formats`.`id` = 1
(8.3ms) COMMIT
SQL (0.0ms) BEGIN
SQL (4.0ms) INSERT INTO `rails_admin_histories` (`created_at`, `item`, `message`, `month`, `table`, `updated_at`, `username`, `year`) VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 09 Nov 2011 15:57:29 UTC +00:00], ["item", 1], ["message", "Changed requirements"], ["month", nil], ["table", "Format"], ["updated_at", Wed, 09 Nov 2011 15:57:29 UTC +00:00], ["username", "vikramd@cciu.org"], ["year", nil]]
(1.1ms) COMMIT
Completed 406 Not Acceptable in 169ms