aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-03-20 01:23:34 +0530
committerVipul A M <vipulnsward@gmail.com>2013-03-20 01:23:34 +0530
commit428ff5a896da24490522040a947d7b7c369855c7 (patch)
tree9fa56cb1731fabc81e2a4ff5884099ffcfc49ad5 /guides
parentcf0931166be13dbbe660fece78531060fa16be29 (diff)
downloadrails-428ff5a896da24490522040a947d7b7c369855c7.tar.gz
rails-428ff5a896da24490522040a947d7b7c369855c7.tar.bz2
rails-428ff5a896da24490522040a947d7b7c369855c7.zip
more typos in guides
Diffstat (limited to 'guides')
-rw-r--r--guides/source/asset_pipeline.md2
-rw-r--r--guides/source/form_helpers.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md
index aa0e0a3042..448f0e1f9a 100644
--- a/guides/source/asset_pipeline.md
+++ b/guides/source/asset_pipeline.md
@@ -768,7 +768,7 @@ end
```
Now that you have a `Template` class, it's time to associate it with an
-extenstion for template files:
+extension for template files:
```ruby
Sprockets.register_engine '.bang', BangBang::Template
diff --git a/guides/source/form_helpers.md b/guides/source/form_helpers.md
index 4e935442cc..dd641c2e29 100644
--- a/guides/source/form_helpers.md
+++ b/guides/source/form_helpers.md
@@ -423,7 +423,7 @@ Whenever Rails sees that the internal value of an option being generated matches
TIP: The second argument to `options_for_select` must be exactly equal to the desired internal value. In particular if the value is the integer 2 you cannot pass "2" to `options_for_select` — you must pass 2. Be aware of values extracted from the `params` hash as they are all strings.
-WARNING: when `:include_blank` or `:prompt` are not present, `:include_blank` is forced true if the select attribute `required` is true, display `size` is one and `multiple` is not true.
+WARNING: when `:include_blank` or `:prompt:` are not present, `:include_blank` is forced true if the select attribute `required` is true, display `size` is one and `multiple` is not true.
You can add arbitrary attributes to the options using hashes: