-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
Hi, using field aliasing, update_attribute does not work
For instance, I have the field email in my model
field :e, as: :email
Doing like this doesnt work
user.update_attribute(:email, 'lala@g.com')
Only works if using real field name:
user.update_attribute(:e, 'lala@g.com')