thefrontiergroup / scoped_attr_accessible

A plugin for ActiveModel-based libraries that lets you scope attr_accessible and attr_protected
MIT License
17 stars 1 forks source link

neither attr_accessible() nor attr_protected :all does blacklist everything #3

Open tim3z opened 13 years ago

tim3z commented 13 years ago

in rails you can blacklist every attribute by calling attr_accessible with no arguments. having this gem installed the empty call doesnt change anything.

Much worse: attr_protected :all which should do the same thing doesnt either