aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/active_support_core_extensions.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile
index 6c95a01a0e..370ab311c2 100644
--- a/railties/guides/source/active_support_core_extensions.textile
+++ b/railties/guides/source/active_support_core_extensions.textile
@@ -3277,7 +3277,7 @@ The class +DateTime+ is a subclass of +Date+ so by loading +active_support/core_
yesterday
tomorrow
beginning_of_week (monday, at_beginning_of_week)
-end_on_week (at_end_of_week)
+end_of_week (at_end_of_week)
weeks_ago
prev_week
next_week
@@ -3451,7 +3451,7 @@ since (in)
beginning_of_day (midnight, at_midnight, at_beginning_of_day)
end_of_day
beginning_of_week (monday, at_beginning_of_week)
-end_on_week (at_end_of_week)
+end_of_week (at_end_of_week)
weeks_ago
prev_week
next_week