aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorbrainopia <brainopia@evilmartians.com>2011-01-19 16:34:27 +0300
committerAaron Patterson <aaron.patterson@gmail.com>2011-01-28 14:31:36 -0800
commit452dba72f5bac3118a3405408665ae372ebbe6a1 (patch)
tree6a16fc1210ee85593f28ed2f0eca41a0bce1c84a /activesupport
parentc29eef7da735bf19e7c9cd205c753e8de24516cd (diff)
downloadrails-452dba72f5bac3118a3405408665ae372ebbe6a1.tar.gz
rails-452dba72f5bac3118a3405408665ae372ebbe6a1.tar.bz2
rails-452dba72f5bac3118a3405408665ae372ebbe6a1.zip
Remove unneeded yaml_as declaration
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/big_decimal/conversions.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/big_decimal/conversions.rb b/activesupport/lib/active_support/core_ext/big_decimal/conversions.rb
index 11c318c244..080604147d 100644
--- a/activesupport/lib/active_support/core_ext/big_decimal/conversions.rb
+++ b/activesupport/lib/active_support/core_ext/big_decimal/conversions.rb
@@ -11,8 +11,6 @@ class BigDecimal
YAML_TAG = 'tag:yaml.org,2002:float'
YAML_MAPPING = { 'Infinity' => '.Inf', '-Infinity' => '-.Inf', 'NaN' => '.NaN' }
- yaml_as YAML_TAG
-
# This emits the number without any scientific notation.
# This is better than self.to_f.to_s since it doesn't lose precision.
#