instance method json

Ruby on Rails 4.2.9

Since v4.2.9 Last seen in v4.2.9

Signature

json(name, options = {})

No documentation comment.

Parameters

name req
options opt = {}
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close