If in a model file I have just this code:
class Users < ActiveRecord::Base end
what this means? All attributes related to the model are acce
Just set:
class Users < ActiveRecord::Base attr_accessible #none end
Like Pan Thomakos said (attr_accessible is the array of parameters that can be mass-ret. So if you send in no symbols, then no parameters will be accessible.
This ticket was useful