Class: ActiveRecord::ConnectionAdapters::SQLite3Adapter
- Inherits:
-
SQLiteAdapter
- Object
- SQLiteAdapter
- ActiveRecord::ConnectionAdapters::SQLite3Adapter
- Defined in:
- lib/activerecord_enum.rb
Instance Method Summary collapse
- #type_to_sql_with_enum(type, limit = nil, *args) ⇒ Object (also: #type_to_sql)
Instance Method Details
#type_to_sql_with_enum(type, limit = nil, *args) ⇒ Object Also known as: type_to_sql
39 40 41 42 43 44 |
# File 'lib/activerecord_enum.rb', line 39 def type_to_sql_with_enum type, limit=nil, *args if type.to_s == "enum" || type.to_s == "set" type, limit = :string, nil end type_to_sql_without_enum type, limit, *args end |