instance method as_schema_json

Ruby on Rails edge

Since edge

Signature

as_schema_json()

No documentation comment.

Source
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 292
      def as_schema_json
        data = {}
        encode_with(data)
        data["data_sources"] = data["data_sources"].select { |_, exists| exists }.keys
        data
      end

Defined in activerecord/lib/active_record/connection_adapters/schema_cache.rb line 292 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::SchemaCache

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close