Module: EnumKit::ActiveRecordExtensions::ConnectionAdapters::PostgreSQL::ColumnDumper
- Defined in:
- lib/enum_kit/active_record_extensions/connection_adapters/postgresql/column_dumper.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#prepare_column_options(column) ⇒ Object
:nodoc:
20 21 22 23 24 |
# File 'lib/enum_kit/active_record_extensions/connection_adapters/postgresql/column_dumper.rb', line 20 def (column) spec = super spec[:enum_type] = column.sql_type.inspect if column.type == :enum spec end |