Files
grecia/app/models
Javi Martín c6a8aa1301 Replace attribute_changed? in before callbacks
This method is deprecated in Rails 5.1 because its behavior will be
different in `before` and `after` callbacks.

Here we're replacing the deprecated `attribute_changed?` and
`attribute_was` with `will_save_change_to_attribute?` and
`attribute_in_database` during `before_save` callbacks.

https://github.com/rails/rails/pull/32835/
2020-04-24 15:43:54 +02:00
..
2015-07-15 13:32:13 +02:00
2019-11-01 20:08:46 +01:00
2019-11-06 00:04:02 +01:00
2019-03-27 15:22:14 +01:00
2019-11-06 00:04:02 +01:00
2019-10-23 14:39:31 +02:00
2019-03-14 17:25:43 +01:00
2019-04-29 13:08:43 -05:00
2019-11-09 19:33:02 +01:00
2020-04-09 07:11:53 +10:00
2019-02-05 17:41:00 +01:00
2019-10-25 19:29:12 +02:00
2017-12-15 19:21:02 +01:00