Module: Sqlite3JsonRails4::Extensions::ActiveRecord::ConnectionAdapters::TableDefinitionAdditions
- Defined in:
- lib/sqlite3_json_rails4/extensions/active_record/connection_adapters/table_definitions.rb
Instance Method Summary collapse
Instance Method Details
#json(*args) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/sqlite3_json_rails4/extensions/active_record/connection_adapters/table_definitions.rb', line 8 def json(*args) = args. column_names = args column_names.each do |name| column(name, :json, ) end end |