mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Revert "Using American English spellings over British style spellings"
This reverts commit 573df1cf2a
.
Reason: changelog edits aren't allowed in docrails.
[ci skip]
This commit is contained in:
parent
6bd1bbe7cf
commit
06e22c01e8
2 changed files with 5 additions and 5 deletions
|
@ -74,7 +74,7 @@
|
|||
|
||||
* Improve `String#squish` to handle Unicode whitespace. *Antoine Lyset*
|
||||
|
||||
* Standardize on `to_time` returning an instance of `Time` in the local system timezone
|
||||
* Standardise on `to_time` returning an instance of `Time` in the local system timezone
|
||||
across `String`, `Time`, `Date`, `DateTime` and `ActiveSupport::TimeWithZone`.
|
||||
|
||||
*Andrew White*
|
||||
|
@ -140,7 +140,7 @@
|
|||
|
||||
* Remove surrogate unicode character encoding from `ActiveSupport::JSON.encode`
|
||||
The encoding scheme was broken for unicode characters outside the basic multilingual plane;
|
||||
since JSON is assumed to be UTF-8, and we already force the encoding to UTF-8,
|
||||
since json is assumed to be UTF-8, and we already force the encoding to UTF-8,
|
||||
simply pass through the un-encoded characters.
|
||||
|
||||
*Brett Carter*
|
||||
|
@ -359,7 +359,7 @@
|
|||
|
||||
* An optional block can be passed to `HashWithIndifferentAccess#update` and `#merge`.
|
||||
The block will be invoked for each duplicated key, and used to resolve the conflict,
|
||||
thus replicating the behavior of the corresponding methods on the `Hash` class.
|
||||
thus replicating the behaviour of the corresponding methods on the `Hash` class.
|
||||
|
||||
*Leo Cassarani*
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ Rails 4.0 extracted Active Resource to its own gem. If you still need the featur
|
|||
|
||||
* Rails 4.0 has changed how errors attach with the `ActiveModel::Validations::ConfirmationValidator`. Now when confirmation validations fail, the error will be attached to `:#{attribute}_confirmation` instead of `attribute`.
|
||||
|
||||
* Rails 4.0 has changed `ActiveModel::Serializers::JSON.include_root_in_json` default value to `false`. Now, Active Model Serializers and Active Record objects have the same default behavior. This means that you can comment or remove the following option in the `config/initializers/wrap_parameters.rb` file:
|
||||
* Rails 4.0 has changed `ActiveModel::Serializers::JSON.include_root_in_json` default value to `false`. Now, Active Model Serializers and Active Record objects have the same default behaviour. This means that you can comment or remove the following option in the `config/initializers/wrap_parameters.rb` file:
|
||||
|
||||
```ruby
|
||||
# Disable root element in JSON by default.
|
||||
|
@ -310,7 +310,7 @@ config.assets.debug = true
|
|||
Again, most of the changes below are for the asset pipeline. You can read more about these in the [Asset Pipeline](asset_pipeline.html) guide.
|
||||
|
||||
```ruby
|
||||
# Compress JavaScript and CSS
|
||||
# Compress JavaScripts and CSS
|
||||
config.assets.compress = true
|
||||
|
||||
# Don't fallback to assets pipeline if a precompiled asset is missed
|
||||
|
|
Loading…
Reference in a new issue