method

xml

rails latest stable - Class: ActiveRecord::ConnectionAdapters::TableDefinition

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

xml(*args)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 73
      def xml(*args)
        raise NotImplementedError unless %{
          sqlite mysql mysql2
        }.include? @base.adapter_name.downcase

        options = args.extract_options!
        column(args[0], :text, options)
      end