lib/lhm/column_with_sql.rb in departure-6.1.0 vs lib/lhm/column_with_sql.rb in departure-6.2.0

- old
+ new

@@ -50,10 +50,10 @@ # Returns the column instance with the provided data # # @return [column_factory] def column - cast_type = ActiveRecord::Base.connection.lookup_cast_type(definition) + cast_type = ActiveRecord::Base.connection.send(:lookup_cast_type, definition) metadata = ActiveRecord::ConnectionAdapters::SqlTypeMetadata.new( type: cast_type.type, sql_type: definition, limit: cast_type.limit )