diff options
author | Melody Berton <meltheadorable@gmail.com> | 2015-02-03 20:10:36 -0500 |
---|---|---|
committer | Melody <meltheadorable@gmail.com> | 2015-02-03 20:20:45 -0500 |
commit | d6e6e9bd61c00416afdc1491a822a55bee62381f (patch) | |
tree | 8da8137ae3c8668d561951bdbeee49457ada0bd4 /activerecord | |
parent | 1c59ffca5c8e998aa5cfc0abb594981de23e64c8 (diff) | |
download | rails-d6e6e9bd61c00416afdc1491a822a55bee62381f.tar.gz rails-d6e6e9bd61c00416afdc1491a822a55bee62381f.tar.bz2 rails-d6e6e9bd61c00416afdc1491a822a55bee62381f.zip |
Adds default options hash for postgres money type
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb b/activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb index a9522e152f..04b7147388 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb @@ -84,7 +84,7 @@ module ActiveRecord column(name, :bit_varying, options) end - def money(name, options) + def money(name, options = {}) column(name, :money, options) end end |