diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md index dda3ae0863..844efc221a 100644 --- a/guides/source/action_view_overview.md +++ b/guides/source/action_view_overview.md @@ -1025,7 +1025,7 @@ If `@article.author_id` is 1, this would return: ``` -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}) @@ -1042,7 +1042,7 @@ In this case, the last object from the collection will be checked: ``` -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**