Permalink
Browse files

synchronize changelogs and 4.1 release notes. [ci skip]

  • Loading branch information...
1 parent 193062e commit a5bff17ed2d0f5cb4eb5edfde079e59eee068a5f @senny senny committed Mar 25, 2014
Showing with 32 additions and 21 deletions.
  1. +5 −5 actionpack/CHANGELOG.md
  2. +10 −10 activerecord/CHANGELOG.md
  3. +4 −2 activesupport/CHANGELOG.md
  4. +12 −4 guides/source/4_1_release_notes.md
  5. +1 −0 railties/CHANGELOG.md
View
@@ -1,5 +1,5 @@
* Swapped the parameters of assert_equal in `assert_select` so that the
- proper values were printed correctly
+ proper values were printed correctly
Fixes #14422.
@@ -23,15 +23,15 @@
internally to escape unsafe HTML string, so you will have to mark your
string as html safe if you have any HTML tag in it.
- Please see #12374 for more detail.
+ See #14062, #12374.
*Prem Sichanugrist*
* Introduce `render :plain` as an option to render content with a content type
of `text/plain`. This is the preferred option if you are planning to render
a plain text content.
- Please see #12374 for more detail.
+ See #14062, #12374.
*Prem Sichanugrist*
@@ -43,7 +43,7 @@
of the response. More information on "Content-Type" header can be found
on RFC 2616, section 7.2.1.
- Please see #12374 for more detail.
+ See #14062, #12374.
*Prem Sichanugrist*
@@ -137,7 +137,7 @@
* Fix stream closing when sending file with `ActionController::Live` included.
- Fixes #12381
+ Fixes #12381.
*Alessandro Diaferia*
View
@@ -17,9 +17,9 @@
*arthurnn*
-* Only save has_one associations if record has changes.
- Previously after save related callbacks, such as `#after_commit`, were triggered when the has_one
- object did not get saved to the db.
+* Only save `has_one` associations if record has changes. Previously after save
+ related callbacks, such as `#after_commit`, were triggered when the
+ `has_one` object did not get saved to the db.
*Alan Kennedy*
@@ -34,17 +34,17 @@
value for any enum attribute is always evaluated as 0 during
uniqueness validation.
- Fixes #14172
+ Fixes #14172.
*Vilius Luneckas* *Ahmed AbouElhamayed*
-* `before_add` callbacks are fired before the record is saved on
- `has_and_belongs_to_many` assocations *and* on `has_many :through`
- associations. Before this change, `before_add` callbacks would be fired
- before the record was saved on `has_and_belongs_to_many` associations, but
- *not* on `has_many :through` associations.
+* `before_add` callbacks are fired before the record is saved on
+ `has_and_belongs_to_many` assocations *and* on `has_many :through`
+ associations. Before this change, `before_add` callbacks would be fired
+ before the record was saved on `has_and_belongs_to_many` associations, but
+ *not* on `has_many :through` associations.
- Fixes #14144
+ Fixes #14144.
* Fixed STI classes not defining an attribute method if there is a
conflicting private method defined on its ancestors.
@@ -38,8 +38,10 @@
* Deprecate custom `BigDecimal` serialization.
Deprecate the custom `BigDecimal` serialization that is included when requiring
- `active_support/all` as a fix for #12467. Let Ruby handle YAML serialization
- for `BigDecimal` instead.
+ `active_support/all`. Let Ruby handle YAML serialization for `BigDecimal`
+ instead.
+
+ Fixes #12467.
*David Celis*
@@ -291,6 +291,10 @@ for detailed changes.
with `config.active_record.maintain_test_schema = false`. ([Pull
Request](https://github.com/rails/rails/pull/13528))
+* Introduce `Rails.gem_version` as a convenience method to return
+ `Gem::Version.new(Rails.version)`, suggesting a more reliable way to perform
+ version comparison. ([Pull Request](https://github.com/rails/rails/pull/14103))
+
Action Pack
-----------
@@ -346,10 +350,14 @@ for detailed changes.
params "deep munging" that was used to address security vulnerability
CVE-2013-0155. ([Pull Request](https://github.com/rails/rails/pull/13188))
-* New config option `config.action_dispatch.cookies_serializer` for specifying
- a serializer for the signed and encrypted cookie jars. (Pull Requests [1](https://github.com/rails/rails/pull/13692), [2](https://github.com/rails/rails/pull/13945) / [More Details](upgrading_ruby_on_rails.html#cookies-serializer))
+* New config option `config.action_dispatch.cookies_serializer` for specifying a
+ serializer for the signed and encrypted cookie jars. (Pull Requests
+ [1](https://github.com/rails/rails/pull/13692),
+ [2](https://github.com/rails/rails/pull/13945) /
+ [More Details](upgrading_ruby_on_rails.html#cookies-serializer))
-* Added `render :plain`, `render :html` and `render :body`. ([Pull Request](https://github.com/rails/rails/pull/14062) /
+* Added `render :plain`, `render :html` and `render
+ :body`. ([Pull Request](https://github.com/rails/rails/pull/14062) /
[More Details](upgrading_ruby_on_rails.html#rendering-content-from-string))
@@ -706,7 +714,7 @@ for detailed changes.
`available_locales`
list. ([Pull Request](https://github.com/rails/rails/commit/8e21ae37ad9fef6b7393a84f9b5f2e18a831e49a))
-* Introduce Module#concerning: a natural, low-ceremony way to separate
+* Introduce `Module#concerning`: a natural, low-ceremony way to separate
responsibilities within a
class. ([Commit](https://github.com/rails/rails/commit/1eee0ca6de975b42524105a59e0521d18b38ab81))
View
@@ -125,6 +125,7 @@
*Jon Leighton*
* Uses .railsrc while creating new plugin if it is available.
+
Fixes #10700.
*Prathamesh Sonpatki*

0 comments on commit a5bff17

Please sign in to comment.