Skip to content

Commit

Permalink
do some typo fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
vipulnsward committed Mar 14, 2013
1 parent e23413b commit d41c279
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion guides/source/active_record_querying.md
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,7 @@ recommended that you use the block form of `unscoped`:

```ruby
Client.unscoped {
Client.created_before(Time.zome.now)
Client.created_before(Time.zone.now)
}
```

Expand Down
2 changes: 1 addition & 1 deletion guides/source/active_support_core_extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ The second argument, `indent_string`, specifies which indent string to use. The
"foo".indent(2, "\t") # => "\t\tfoo"
```

While `indent_string` is tipically one space or tab, it may be any string.
While `indent_string` is typically one space or tab, it may be any string.

The third argument, `indent_empty_lines`, is a flag that says whether empty lines should be indented. Default is false.

Expand Down
4 changes: 2 additions & 2 deletions guides/source/active_support_instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ Action Mailer
to: ["users@rails.com", "ddh@rails.com"],
from: ["me@rails.com"],
date: Sat, 10 Mar 2012 14:18:09 +0100,
mail: "..." # ommitted for beverity
mail: "..." # omitted for brevity
}
```

Expand All @@ -299,7 +299,7 @@ Action Mailer
to: ["users@rails.com", "ddh@rails.com"],
from: ["me@rails.com"],
date: Sat, 10 Mar 2012 14:18:09 +0100,
mail: "..." # ommitted for beverity
mail: "..." # omitted for brevity
}
```

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 `:inlude_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 d41c279

Please sign in to comment.