Update to CPK 7.0.11 and drop monkey patch

This commit is contained in:
Tom Hughes 2014-10-10 12:31:42 +01:00
parent 4e976c835a
commit dae66c21d5
3 changed files with 7 additions and 18 deletions

View file

@ -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