Sha256: f190eed6372f695cfaa7785eb2c3a592405f34c38c0f7a042e7990df53583548
Contents?: true
Size: 324 Bytes
Versions: 2
Compression:
Stored size: 324 Bytes
Contents
require 'spatial_adapter' class ActiveRecord::ConnectionAdapters::TableDefinition SpatialAdapter.geometry_data_types.keys.each do |column_name| define_method(column_name) do |*args| options = args.extract_options! args.each do |name| column(name, column_name, options) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spatial_adapter-1.3.1 | lib/spatial_adapter/common/table_definition.rb |
spatial_adapter-1.3.0 | lib/spatial_adapter/common/table_definition.rb |