diff options
author | Juanito Fatas <katehuang0320@gmail.com> | 2014-10-25 21:56:32 +0800 |
---|---|---|
committer | Juanito Fatas <katehuang0320@gmail.com> | 2014-10-25 21:56:32 +0800 |
commit | 9614ecd2e752ab16f586b9820c8e13776344b257 (patch) | |
tree | 1d8fe242606ff5f677ed04d9f8276308ed39c551 /guides | |
parent | 72c182264e049af3fe056e2e130e3087fbb3eee6 (diff) | |
download | rails-9614ecd2e752ab16f586b9820c8e13776344b257.tar.gz rails-9614ecd2e752ab16f586b9820c8e13776344b257.tar.bz2 rails-9614ecd2e752ab16f586b9820c8e13776344b257.zip |
[ci skip] Add highlight to code (form helper guide).
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/form_helpers.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/form_helpers.md b/guides/source/form_helpers.md index 16fa23c129..cb45e38614 100644 --- a/guides/source/form_helpers.md +++ b/guides/source/form_helpers.md @@ -506,7 +506,7 @@ As the name implies, this only generates option tags. To generate a working sele <%= collection_select(:person, :city_id, City.all, :id, :name) %> ``` -As with other helpers, if you were to use the collection_select helper on a form builder scoped to the @person object, the syntax would be: +As with other helpers, if you were to use the `collection_select` helper on a form builder scoped to the `@person` object, the syntax would be: ```erb <%= f.collection_select(:city_id, City.all, :id, :name) %> |