aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2014-06-04 15:37:25 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2014-06-04 15:37:25 +0530
commit4513f3541a4bc4429b733f46283c2cbf029de2e9 (patch)
treea7bfbb702a0e49ac217325fb12d9d048ed1b6d5f /activerecord/lib
parent2a6f4282b91d81dca2c58febc84ed98de9bea466 (diff)
downloadrails-4513f3541a4bc4429b733f46283c2cbf029de2e9.tar.gz
rails-4513f3541a4bc4429b733f46283c2cbf029de2e9.tar.bz2
rails-4513f3541a4bc4429b733f46283c2cbf029de2e9.zip
Change wording of explanation about precision & scale of decimal numbers [ci skip]
Diffstat (limited to 'activerecord/lib')
-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.