diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-11-21 10:17:46 -0800 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-11-21 10:17:46 -0800 |
commit | 0cf3092e60d4429467f7e175f610f67e58980f82 (patch) | |
tree | b8a887f9131341f767a9f9a8ca0df611de1b9ecc /activerecord | |
parent | 1c0e7ab2f8227598cd605e3cee74e16d66c17c43 (diff) | |
parent | 104f4fde1d2a4806a51c5075610fe74e6965ce25 (diff) | |
download | rails-0cf3092e60d4429467f7e175f610f67e58980f82.tar.gz rails-0cf3092e60d4429467f7e175f610f67e58980f82.tar.bz2 rails-0cf3092e60d4429467f7e175f610f67e58980f82.zip |
Merge pull request #8290 from cpatuzzo/master
Fixed a typo
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index 17dd71e898..f1e42dfbbe 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -540,7 +540,7 @@ module ActiveRecord column_type_sql << "(#{precision})" end elsif scale - raise ArgumentError, "Error adding decimal column: precision cannot be empty if scale if specified" + raise ArgumentError, "Error adding decimal column: precision cannot be empty if scale is specified" end elsif (type != :primary_key) && (limit ||= native.is_a?(Hash) && native[:limit]) |