lib/cassandra_object/migrations.rb in gotime-cassandra_object-2.3.0 vs lib/cassandra_object/migrations.rb in gotime-cassandra_object-2.3.1
- old
+ new
@@ -55,10 +55,10 @@
attrs
end
super(key, attributes).tap do |record|
original_attributes.diff(attributes).keys.each do |attribute|
- record.attribute_will_change! attribute
+ record.send :attribute_will_change!, attribute
end
end
end
end
end