If a module has optimistic logging enabled, schema_validations will raise this error
NoMethodError (undefined method `range' for #<ActiveRecord::Locking::LockingType:0x007ffb417aa690>)
Because although the locking field's column type is integer, the rails proxy object for the field is ActiveRecord::Locking::LockingType rather than `ActiveRecord::Type::Integer
If a module has optimistic logging enabled, schema_validations will raise this error
Because although the locking field's column type is
integer
, the rails proxy object for the field isActiveRecord::Locking::LockingType
rather than `ActiveRecord::Type::Integer