Skip to content

Commit d864dcd

Browse files
committed
Merge pull request rails#11401 from dpdawson/master
Improved Active View Overview guide. [ci skip]
2 parents 55f8f63 + 9cf1f9e commit d864dcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/source/action_view_overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -775,8 +775,8 @@ select_day(5)
775775
Returns a select tag with options for each of the hours 0 through 23 with the current hour selected.
776776

777777
```ruby
778-
# Generates a select field for minutes that defaults to the minutes for the time provided
779-
select_minute(Time.now + 6.hours)
778+
# Generates a select field for hours that defaults to the hours for the time provided
779+
select_hour(Time.now + 6.hours)
780780
```
781781

782782
#### select_minute

0 commit comments

Comments
 (0)