Module: ActiveRecord::Type
- Defined in:
- lib/active_record/connection_adapters/cockroachdb/type.rb
Class Method Summary collapse
-
.adapter_name_from(_model) ⇒ Object
Return :postgresql instead of :cockroachdb for current_adapter_name so we can continue using the ActiveRecord::Types defined in PostgreSQLAdapter.
Class Method Details
.adapter_name_from(_model) ⇒ Object
Return :postgresql instead of :cockroachdb for current_adapter_name so we can continue using the ActiveRecord::Types defined in PostgreSQLAdapter.
7 8 9 |
# File 'lib/active_record/connection_adapters/cockroachdb/type.rb', line 7 def adapter_name_from(_model) :postgresql end |