I have made all attributes in a rails app not accessible using this application configuration option:
config.active_record.whitelist_attributes = true
In most cases I define a few attributes I want to be accessible as accessible using attr_accessible in models. How do I make all attributes of a particular model accessible. Something like attr_accessible :all.
You can make all attributes accessible by calling
attr_protectedwithout arguments like that: