aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-01-03 11:15:25 +0100
committerXavier Noria <fxn@hashref.com>2010-01-03 11:15:25 +0100
commitbd4a3cce4ecd8e648179a91e26506e3622ac2162 (patch)
treecfec1a06edd0246bcc42f226fb2549845cd749dc /railties/guides/source
parentf95b12c3f3c7e80f1fbff18148c50036ef5c8dc7 (diff)
downloadrails-bd4a3cce4ecd8e648179a91e26506e3622ac2162.tar.gz
rails-bd4a3cce4ecd8e648179a91e26506e3622ac2162.tar.bz2
rails-bd4a3cce4ecd8e648179a91e26506e3622ac2162.zip
removes warning in multiple_of? that is no longer needed after 7a2554d
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/active_support_core_extensions.textile2
1 files changed, 0 insertions, 2 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile
index 7e13944afb..3073c3a7a5 100644
--- a/railties/guides/source/active_support_core_extensions.textile
+++ b/railties/guides/source/active_support_core_extensions.textile
@@ -799,8 +799,6 @@ The method +multiple_of?+ tests whether an integer is multiple of the argument:
1.multiple_of?(2) # => false
</ruby>
-WARNING: Due the way it is implemented the argument must be nonzero, otherwise +ZeroDivisionError+ is raised.
-
NOTE: Defined in +active_support/core_ext/integer/multiple.rb+.
h4. +ordinalize+