aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/postgresql/column.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-05-19 17:19:16 -0700
committerSean Griffin <sean@thoughtbot.com>2014-05-20 13:34:35 -0700
commit50869f37d379a09a69b21399ae4360d7c13017c1 (patch)
treef2de5e771b77ae5594f2230afd387a591f6323e8 /activerecord/lib/active_record/connection_adapters/postgresql/column.rb
parent25c672637206a2c48fd829c58596c788b6e31c5d (diff)
downloadrails-50869f37d379a09a69b21399ae4360d7c13017c1.tar.gz
rails-50869f37d379a09a69b21399ae4360d7c13017c1.tar.bz2
rails-50869f37d379a09a69b21399ae4360d7c13017c1.zip
Delegate predicate methods to injected type object on Column
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/postgresql/column.rb')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql/column.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/column.rb b/activerecord/lib/active_record/connection_adapters/postgresql/column.rb
index e5118b5427..aba721eece 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql/column.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql/column.rb
@@ -21,14 +21,6 @@ module ActiveRecord
@default_function = default if has_default_function?(default_value, default)
end
- def number?
- !array && super
- end
-
- def text?
- !array && super
- end
-
# :stopdoc:
class << self
include PostgreSQL::Cast