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
In Rails 5, we are getting the deprecation warning for the way attribute changed is handled, I believe in the notify method inside of observers.rb.
According to the message:
DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead.
The text was updated successfully, but these errors were encountered:
In Rails 5, we are getting the deprecation warning for the way attribute changed is handled, I believe in the
notify
method inside of observers.rb.According to the message:
The text was updated successfully, but these errors were encountered: