diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-22 16:03:52 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-22 16:03:52 -0300 |
commit | 73f1ab21855269eda57088ccf3f3fb8245d23426 (patch) | |
tree | 9968e07fc05084cd1afbd01f4c698fe705745213 /activerecord/lib/active_record/connection_adapters/postgresql/oid | |
parent | 70ec49c87a4303eb99cdd2fba5c3a22f42de1858 (diff) | |
parent | 57cc778fc851c606af4eb5f1dbc979d114637490 (diff) | |
download | rails-73f1ab21855269eda57088ccf3f3fb8245d23426.tar.gz rails-73f1ab21855269eda57088ccf3f3fb8245d23426.tar.bz2 rails-73f1ab21855269eda57088ccf3f3fb8245d23426.zip |
Merge pull request #15250 from sgrif/sg-push-scale-to-types
Push scale to type objects
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/postgresql/oid')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql/oid/money.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/oid/money.rb b/activerecord/lib/active_record/connection_adapters/postgresql/oid/money.rb index 74e8f30457..697dceb7c2 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql/oid/money.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql/oid/money.rb @@ -7,7 +7,7 @@ module ActiveRecord class_attribute :precision - def extract_scale(sql_type) + def scale 2 end |