Module: Sqlite3JsonRails4::Extensions::ActiveRecord::ConnectionAdapters::SQLite3AdapterAdditions
- Defined in:
- lib/sqlite3_json_rails4/extensions/active_record/connection_adapters/sqlite3_adapter.rb
Instance Method Summary collapse
Instance Method Details
#initialize_type_map(map) ⇒ Object
9 10 11 12 |
# File 'lib/sqlite3_json_rails4/extensions/active_record/connection_adapters/sqlite3_adapter.rb', line 9 def initialize_type_map(map) super(map) map.register_type(/^json/i, Sqlite3JsonRails4::Extensions::ActiveRecord::Type::Json.new) end |