You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, there are more methods: saved_change_to_foo?, saved_change_to_foo, foo_before_last_save, will_save_change_to_foo?, foo_change_to_be_saved, and foo_in_database.
@brianstortisaved_changes as well as other AR-specific dirty methods added in AR 5.1 have been added to the master branch of Mobility. Give them a spin 😄
Rails 5 introduced the
saved_changes
method to the Dirty module, but it seems likeMobility
still doesn't support that:It would be great if
saved_changes
also returned the translated attributes.Thank you.
The text was updated successfully, but these errors were encountered: