aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-08-19 14:09:55 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-08-19 14:09:55 +0900
commit9e6a455381f8581893e66235b2799b3ada6b2920 (patch)
tree34115ed738d50b633731130a30e28746a60987b9 /activerecord/lib/active_record/connection_adapters
parent544d44fb53616ecf475d24b3e395cb9a07e0a70b (diff)
downloadrails-9e6a455381f8581893e66235b2799b3ada6b2920.tar.gz
rails-9e6a455381f8581893e66235b2799b3ada6b2920.tar.bz2
rails-9e6a455381f8581893e66235b2799b3ada6b2920.zip
Remove unused `blob_or_text_column?` method
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r--activerecord/lib/active_record/connection_adapters/mysql/column.rb4
1 files changed, 0 insertions, 4 deletions
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