Skip to content

Commit

Permalink
Fix typo s/programatically/programmatically/ [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
kamipo committed Oct 4, 2019
1 parent 97af7e1 commit eae80d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/source/action_view_overview.md
Expand Up @@ -1025,7 +1025,7 @@ If `@article.author_id` is 1, this would return:
<label for="article_author_id_3">M. Clark</label>
```

Recovering some option passed (e.g. programatically checking an object from collection):
Recovering some option passed (e.g. programmatically checking an object from collection):

```ruby
collection_radio_buttons(:article, :author_id, Author.all, :id, :name_with_initial, {checked: Author.last})
Expand All @@ -1042,7 +1042,7 @@ In this case, the last object from the collection will be checked:
<label for="article_author_id_3">M. Clark</label>
```

To access the passed options programatically (e.g. adding a custom class if checked):
To access the passed options programmatically (e.g. adding a custom class if checked):

**Sample html.erb**

Expand Down

0 comments on commit eae80d7

Please sign in to comment.