Flowdock
method

quoted_scope

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: SchemaStatements
quoted_scope(name = nil, type: nil) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/sqlite3/schema_statements.rb, line 90
          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
Register or log in to add new notes.