Skip to content

Commit

Permalink
more typos in guides
Browse files Browse the repository at this point in the history
  • Loading branch information
vipulnsward committed Mar 19, 2013
1 parent cf09311 commit 428ff5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion guides/source/asset_pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion guides/source/form_helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 428ff5a

Please sign in to comment.