diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-20 18:02:49 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-20 18:02:49 -0300 |
commit | c4640ca8053c3d71ac0ff7c644fcbfa2ba54e275 (patch) | |
tree | f2de5e771b77ae5594f2230afd387a591f6323e8 /activerecord/lib/active_record/connection_adapters/type/decimal.rb | |
parent | 25c672637206a2c48fd829c58596c788b6e31c5d (diff) | |
parent | 50869f37d379a09a69b21399ae4360d7c13017c1 (diff) | |
download | rails-c4640ca8053c3d71ac0ff7c644fcbfa2ba54e275.tar.gz rails-c4640ca8053c3d71ac0ff7c644fcbfa2ba54e275.tar.bz2 rails-c4640ca8053c3d71ac0ff7c644fcbfa2ba54e275.zip |
Merge pull request #15204 from sgrif/sg-delegate-predicates
Delegate predicate methods to injected type object on Column
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/type/decimal.rb')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/type/decimal.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/type/decimal.rb b/activerecord/lib/active_record/connection_adapters/type/decimal.rb index 9581cd5964..91957fe84b 100644 --- a/activerecord/lib/active_record/connection_adapters/type/decimal.rb +++ b/activerecord/lib/active_record/connection_adapters/type/decimal.rb @@ -2,6 +2,8 @@ module ActiveRecord module ConnectionAdapters module Type class Decimal < Value # :nodoc: + include Numeric + def type :decimal end |