trusted-params
trusted-params copied to clipboard
Rails plugin for overriding attr_accessible protection.
rails 2.3.11 DEPRECATION WARNING: metaclass is deprecated and will be removed from Rails 2.3 (use singleton_class instead). (called from extended at /my_path/vendor/plugins/trusted-params/lib/trusted_params/active_record_additions.rb:21) how can fix this?
I've a date attribute birthday, that I update through date_select I get "attribute "birthday(3i)" is protected from mass assignment, use attr_accessible and obviuslly I used attr_accessible for :birthday. I worked...
Take delayed_job for example. It sets priority and other metadata to its internal Delayed::Job model. Of course this causes an error, unless I add .trust to its hashes or set...
I want trusted-params in my Gemfile, please :-)