instance method xml_column_fallback

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v3.0.20

Available in: v2.3.18 v3.0.20

Signature

xml_column_fallback(*args)

No documentation comment.

Parameters

args rest
Source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 325
      def xml_column_fallback(*args)
        case @base.adapter_name.downcase
          when 'sqlite', 'mysql'
            options = args.extract_options!
            column(args[0], :text, options)
          end
        end

Defined in activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb line 325 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::TableDefinition

Type at least 2 characters to search.

↑↓ navigate · open · esc close