Class: ActiveScaffold::Tableless::Column
- Inherits:
-
ActiveRecord::ConnectionAdapters::Column
- Object
- ActiveRecord::ConnectionAdapters::Column
- ActiveScaffold::Tableless::Column
- Defined in:
- lib/active_scaffold/tableless.rb
Instance Method Summary collapse
-
#initialize(name, default, sql_type = nil, null = true) ⇒ Column
constructor
rubocop:disable Style/OptionalBooleanParameter.
Constructor Details
#initialize(name, default, sql_type = nil, null = true) ⇒ Column
rubocop:disable Style/OptionalBooleanParameter
20 21 22 23 |
# File 'lib/active_scaffold/tableless.rb', line 20 def initialize(name, default, sql_type = nil, null = true, **) # rubocop:disable Style/OptionalBooleanParameter = ActiveRecord::Base.connection.send :fetch_type_metadata, sql_type super(name, default, , null) end |