Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4783

saved_change_to_attribute? for Rails 6

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 7.0.5
    • Component/s: Attributes
    • Labels:
      None

      Rails 6 (ActiveRecord seems to have a function:

      saved_change_to_attribute?(:encrypted_password)

      the old way was 

      encrypted_password_changed?

       

      This should be implemented, to keep consistency

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            mail@jezekjan.com Jan Jezek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: