Module: ActiveRecord::ConnectionAdapters::Sunstone::ColumnDumper
- Included in:
- ActiveRecord::ConnectionAdapters::SunstoneAPIAdapter
- Defined in:
- lib/active_record/connection_adapters/sunstone/schema_dumper.rb
Instance Method Summary collapse
-
#prepare_column_options(column) ⇒ Object
Adds
:array
option to the default set.
Instance Method Details
#prepare_column_options(column) ⇒ Object
Adds :array
option to the default set
7 8 9 10 11 |
# File 'lib/active_record/connection_adapters/sunstone/schema_dumper.rb', line 7 def (column) spec = super spec[:array] = 'true' if column.array? spec end |