aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2015-06-08 09:58:12 -0400
committerZachary Scott <e@zzak.io>2015-06-08 09:58:12 -0400
commitaeac00feb41ec99ef39b79cae31546ca875188d9 (patch)
tree8a50ffe2ebb1801169e2c5b5064e573b5d9cfdbc /guides
parented0677deafc8cbfe9850e91e8937d43e30ea26d3 (diff)
parent4071caad2a8e352cd67dd43ae80d1d9bd1bd5ac3 (diff)
downloadrails-aeac00feb41ec99ef39b79cae31546ca875188d9.tar.gz
rails-aeac00feb41ec99ef39b79cae31546ca875188d9.tar.bz2
rails-aeac00feb41ec99ef39b79cae31546ca875188d9.zip
Merge pull request #20463 from yui-knk/fix/guide1
[ci skip] Fix hours to minutes in `select_minute`
Diffstat (limited to 'guides')
-rw-r--r--guides/source/action_view_overview.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md
index eff64fad20..09fac41491 100644
--- a/guides/source/action_view_overview.md
+++ b/guides/source/action_view_overview.md
@@ -707,7 +707,7 @@ Returns a select tag with options for each of the minutes 0 through 59 with the
```ruby
# Generates a select field for minutes that defaults to the minutes for the time provided.
-select_minute(Time.now + 6.hours)
+select_minute(Time.now + 10.minutes)
```
#### select_month