Update to CPK 7.0.11 and drop monkey patch
This commit is contained in:
parent
4e976c835a
commit
dae66c21d5
3 changed files with 7 additions and 18 deletions
|
@ -1,11 +0,0 @@
|
|||
# Monkey patch id_was into CPK pending upstream integration
|
||||
# https://github.com/composite-primary-keys/composite_primary_keys/pull/236
|
||||
module ActiveRecord
|
||||
class Base
|
||||
module CompositeInstanceMethods
|
||||
def id_was
|
||||
attribute_was("id")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue