aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-06-04 13:32:27 +0200
committerYves Senn <yves.senn@gmail.com>2014-06-04 13:32:27 +0200
commit0329d59a65a5afbf57de83670e3e05e4a73815e4 (patch)
tree39a051275adabbcba750f1666d4ada61b3d6272c /activerecord/lib/active_record
parentc5c0bad190dff0495612dde2ac4e33f1ee1fa387 (diff)
parent4513f3541a4bc4429b733f46283c2cbf029de2e9 (diff)
downloadrails-0329d59a65a5afbf57de83670e3e05e4a73815e4.tar.gz
rails-0329d59a65a5afbf57de83670e3e05e4a73815e4.tar.bz2
rails-0329d59a65a5afbf57de83670e3e05e4a73815e4.zip
Merge pull request #15500 from prathamesh-sonpatki/change-wording-of-explanation-about-precision-and-scale-of-decimal-numbers
Change wording of explanation about precision & scale of decimal numbers [ci skip]
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
index 117c0f0969..a9b3e9cfb9 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
@@ -102,8 +102,8 @@ module ActiveRecord
# * <tt>:index</tt> -
# Create an index for the column. Can be either <tt>true</tt> or an options hash.
#
- # For clarity's sake: the precision is the number of significant digits,
- # while the scale is the number of digits that can be stored following
+ # Note: The precision is the total number of significant digits
+ # and the scale is the number of digits that can be stored following
# the decimal point. For example, the number 123.45 has a precision of 5
# and a scale of 2. A decimal with a precision of 5 and a scale of 2 can
# range from -999.99 to 999.99.