Right now to collect all attributes names I have to:
@attr_names = (User.attribute_names + User.accessible_attributes.to_a - ["", "data"]).uniq
Is there a better way to do that?
Right now to collect all attributes names I have to:
@attr_names = (User.attribute_names + User.accessible_attributes.to_a - ["", "data"]).uniq
Is there a better way to do that?