aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-07-12 01:51:37 -0700
committerYves Senn <yves.senn@gmail.com>2013-07-12 01:51:37 -0700
commitd864dcd02a360cd15d4879b3fa8bcac1e3bec58a (patch)
tree9ed71a574371f8a34d15a4485722aed083480ec8 /guides
parent55f8f63ad820220523ca0f3837e03a5ba20ead32 (diff)
parent9cf1f9e6f5a772862a89e0f7227868f8b83e4a3a (diff)
downloadrails-d864dcd02a360cd15d4879b3fa8bcac1e3bec58a.tar.gz
rails-d864dcd02a360cd15d4879b3fa8bcac1e3bec58a.tar.bz2
rails-d864dcd02a360cd15d4879b3fa8bcac1e3bec58a.zip
Merge pull request #11401 from dpdawson/master
Improved Active View Overview guide. [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/action_view_overview.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md
index 75f2989f5b..3542844f33 100644
--- a/guides/source/action_view_overview.md
+++ b/guides/source/action_view_overview.md
@@ -775,8 +775,8 @@ select_day(5)
Returns a select tag with options for each of the hours 0 through 23 with the current hour selected.
```ruby
-# Generates a select field for minutes that defaults to the minutes for the time provided
-select_minute(Time.now + 6.hours)
+# Generates a select field for hours that defaults to the hours for the time provided
+select_hour(Time.now + 6.hours)
```
#### select_minute