aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorMark J. Titorenko <mark@titorenko.net>2012-05-07 12:24:40 +0100
committerMark J. Titorenko <mark@titorenko.net>2012-05-07 12:24:40 +0100
commit61587b18d2b4b03041cc7e54da00cff6344abeec (patch)
treeda63cf800de2ebe23ad3f2fb7b163e6a56bebe58 /guides
parentf174e8dcef66446cb7483c48dc746887b29078b6 (diff)
downloadrails-61587b18d2b4b03041cc7e54da00cff6344abeec.tar.gz
rails-61587b18d2b4b03041cc7e54da00cff6344abeec.tar.bz2
rails-61587b18d2b4b03041cc7e54da00cff6344abeec.zip
Remove accidentally pasted NOTE section during introduction of +beginning_of_hour+ and +end_of_hour+ documentation.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_support_core_extensions.textile2
1 files changed, 0 insertions, 2 deletions
diff --git a/guides/source/active_support_core_extensions.textile b/guides/source/active_support_core_extensions.textile
index c9e9a13c09..43dc0c12cf 100644
--- a/guides/source/active_support_core_extensions.textile
+++ b/guides/source/active_support_core_extensions.textile
@@ -3084,8 +3084,6 @@ date.end_of_hour # => Mon Jun 07 19:59:59 +0200 2010
INFO: +beginning_of_hour+ and +end_of_hour+ are implemented for +Time+ and +DateTime+ but *not* +Date+ as it does not make sense to request the beginning or end of an hour on a +Date+ instance.
-NOTE: All the following methods are defined in +active_support/core_ext/date/calculations.rb+.
-
h6. +ago+, +since+
The method +ago+ receives a number of seconds as argument and returns a timestamp those many seconds ago from midnight: