ryanb / trusted-params

Rails plugin for overriding attr_accessible protection.
MIT License
149 stars 9 forks source link

active_record_additions.rb:21 #6

Open pollinoco opened 13 years ago

pollinoco commented 13 years ago

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?

ryanb commented 13 years ago

Thanks for reporting this. I'll try to research this and update it to work with the later versions of Rails. If someone would like to submit a pull request feel free.