instance method
json
Ruby on Rails 4.2.9
Since v4.2.9 Last seen in v4.2.9Signature
json(name, options = {})
No documentation comment.
Parameters
-
namereq -
optionsopt = {}
Source
# File activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 63
def json(name, options = {})
column(name, :json, options)
end
Defined in activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb line 63
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::PostgreSQL::ColumnMethods