diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-11-09 16:44:32 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-11-09 16:44:58 -0200 |
commit | 5deec016fe97c238073ea22b7cca9c796c68a0a5 (patch) | |
tree | 648cf3dbc6896c2853fbf7df1b60ef79ced278d1 /activerecord | |
parent | bdb8bc6e8a4ec3b11658935de9ae5d6a06630b81 (diff) | |
download | rails-5deec016fe97c238073ea22b7cca9c796c68a0a5.tar.gz rails-5deec016fe97c238073ea22b7cca9c796c68a0a5.tar.bz2 rails-5deec016fe97c238073ea22b7cca9c796c68a0a5.zip |
Improve changelogs formatting [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 14089b5c1d..9f64941065 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -7,7 +7,7 @@ *Yves Senn* -* Fix uninitialized constant TransactionState error when Marshall.load is used on an Active Record result. +* Fix uninitialized constant `TransactionState` error when `Marshall.load` is used on an Active Record result. Fixes #12790 *Jason Ayre* @@ -16,7 +16,7 @@ *Jon Leighton* -* Added ActiveRecord::QueryMethods#rewhere which will overwrite an existing, named where condition. +* Added `ActiveRecord::QueryMethods#rewhere` which will overwrite an existing, named where condition. Examples: @@ -26,7 +26,7 @@ *DHH* -* Extend ActiveRecord::Base#cache_key to take an optional list of timestamp attributes of which the highest will be used. +* Extend `ActiveRecord::Base#cache_key` to take an optional list of timestamp attributes of which the highest will be used. Example: @@ -35,7 +35,7 @@ *DHH* -* Added ActiveRecord::Base#enum for declaring enum attributes where the values map to integers in the database, but can be queried by name. +* Added `ActiveRecord::Base#enum` for declaring enum attributes where the values map to integers in the database, but can be queried by name. Example: @@ -48,23 +48,23 @@ # conversation.update! status: 0 conversation.active! conversation.active? # => true - conversation.status # => :active + conversation.status # => "active" # conversation.update! status: 1 conversation.archived! conversation.archived? # => true - conversation.status # => :archived + conversation.status # => "archived" # conversation.update! status: 1 conversation.status = :archived *DHH* -* ActiveRecord::Base#attribute_for_inspect now truncates long arrays (more than 10 elements) +* `ActiveRecord::Base#attribute_for_inspect` now truncates long arrays (more than 10 elements). *Jan Bernacki* -* Allow for the name of the schema_migrations table to be configured. +* Allow for the name of the `schema_migrations` table to be configured. *Jerad Phelps* |