From 9e6a455381f8581893e66235b2799b3ada6b2920 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Fri, 19 Aug 2016 14:09:55 +0900 Subject: Remove unused `blob_or_text_column?` method --- activerecord/lib/active_record/connection_adapters/mysql/column.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activerecord/lib/active_record') diff --git a/activerecord/lib/active_record/connection_adapters/mysql/column.rb b/activerecord/lib/active_record/connection_adapters/mysql/column.rb index 72b57f4b8f..296d9a15f8 100644 --- a/activerecord/lib/active_record/connection_adapters/mysql/column.rb +++ b/activerecord/lib/active_record/connection_adapters/mysql/column.rb @@ -4,10 +4,6 @@ module ActiveRecord class Column < ConnectionAdapters::Column # :nodoc: delegate :extra, to: :sql_type_metadata, allow_nil: true - def blob_or_text_column? - /\A(?:tiny|medium|long)?blob\b/ === sql_type || type == :text - end - def unsigned? /\bunsigned\z/ === sql_type end -- cgit v1.2.3