method

quoted_scope

rails latest stable - Class: ActiveRecord::ConnectionAdapters::SQLite3::SchemaStatements
quoted_scope(name = nil, type: nil)
private

No documentation available.

# File activerecord/lib/active_record/connection_adapters/sqlite3/schema_statements.rb, line 175
          def quoted_scope(name = nil, type: nil)
            type =                case type
              when "BASE TABLE"
                "'table'"
              when "VIEW"
                "'view'"
              end
            scope = {}
            scope[:name] = quote(name) if name
            scope[:type] = type if type
            scope
          end