Skip to content

Instantly share code, notes, and snippets.

@dylanerichards
Created December 2, 2013 08:16
Show Gist options
  • Save dylanerichards/7746542 to your computer and use it in GitHub Desktop.
Save dylanerichards/7746542 to your computer and use it in GitHub Desktop.
log
Started PATCH "/admin/things/2" for 127.0.0.1 at 2013-12-02 03:14:29 -0500
Processing by Admin::ThingsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"zK81OjA3forTTUwfj8sAQv8mKTnI4KbXKR2Vl/QW8ow=", "thing"=>{"user_id"=>"1", "title"=>"o", "description"=>"o", "image_file_name"=>"Screen_shot_2013-11-27_at_3.21.41_PM.png", "image_content_type"=>"image/png", "image_file_size"=>"44026", "image_updated_at(1i)"=>"2013", "image_updated_at(2i)"=>"12", "image_updated_at(3i)"=>"2", "image_updated_at(4i)"=>"07", "image_updated_at(5i)"=>"43"}, "commit"=>"Update Thing", "id"=>"2"}
AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1
Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
Completed 500 Internal Server Error in 4ms
ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError):
activemodel (4.0.1) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment'
activerecord (4.0.1) lib/active_record/attribute_assignment.rb:21:in `assign_attributes'
/Users/DylanRichards/.rvm/gems/ruby-2.0.0-p247/bundler/gems/active_admin-a4af8d495b5c/lib/active_admin/resource_controller/data_access.rb:179:in `update_resource'
/Users/DylanRichards/.rvm/gems/ruby-2.0.0-p247/bundler/gems/inherited_resources-e4fb9fc80448/lib/inherited_resources/actions.rb:45:in `update'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment