Using field aliasing, update_attribute does not work using alias name

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 3.0.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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')

              Assignee:
              Durran Jordan
              Reporter:
              fabio perrella
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: