method

has_default?

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

Method deprecated or moved

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

has_default?()
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb, line 41
      def has_default?
        return false if sql_type =~ /blob/ || type == :text #mysql forbids defaults on blob and text columns
        super
      end