Monkey patch field_changed? support until CPK is updated
This commit is contained in:
parent
dee70e8daa
commit
9bc3196dee
1 changed files with 9 additions and 0 deletions
9
config/initializers/active_record.rb
Normal file
9
config/initializers/active_record.rb
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# We need to restore field_changed? support until CPK is updated
|
||||||
|
module ActiveRecord
|
||||||
|
module AttributeMethods
|
||||||
|
module Dirty
|
||||||
|
private
|
||||||
|
alias_method :field_changed?, :_field_changed?
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Loading…
Add table
Add a link
Reference in a new issue