1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Improve changelogs formatting [ci skip]

This commit is contained in:
Carlos Antonio da Silva 2013-11-09 16:44:32 -02:00
parent bdb8bc6e8a
commit 5deec016fe
3 changed files with 22 additions and 22 deletions

View file

@ -2,8 +2,8 @@
*Paul Seidemann*
* Ensure ActionView::Digestor.cache is correctly cleaned up when
combining recursive templates with ActionView::Resolver.caching = false
* Ensure `ActionView::Digestor.cache` is correctly cleaned up when
combining recursive templates with `ActionView::Resolver.caching = false`.
*wyaeld*
@ -12,7 +12,7 @@
*Angel N. Sciortino*
* Fix some edge cases for AV `select` helper with `:selected` option
* Fix some edge cases for AV `select` helper with `:selected` option.
*Bogdan Gusiev*
@ -26,14 +26,14 @@
*Bogdan Gusiev*
* Handle `:namespace` form option in collection labels
* Handle `:namespace` form option in collection labels.
*Vasiliy Ermolovich*
* Fix `form_for` when both `namespace` and `as` options are present
* Fix `form_for` when both `namespace` and `as` options are present.
`as` option no longer overwrites `namespace` option when generating
html id attribute of the form element
html id attribute of the form element.
*Adam Niedzielski*

View file

@ -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*

View file

@ -1,22 +1,22 @@
* Fix ActiveSupport `Time#to_json` and `DateTime#to_json` to return 3 decimal
* Fix Active Support `Time#to_json` and `DateTime#to_json` to return 3 decimal
places worth of fractional seconds, similar to `TimeWithZone`.
*Ryan Glover*
* Removed circular reference protection in JSON encoder, deprecated
ActiveSupport::JSON::Encoding::CircularReferenceError.
`ActiveSupport::JSON::Encoding::CircularReferenceError`.
*Godfrey Chan*, *Sergio Campamá*
* Add `capitalize` option to Inflector.humanize, so strings can be humanized without being capitalized:
* Add `capitalize` option to `Inflector.humanize`, so strings can be humanized without being capitalized:
'employee_salary'.humanize # => "Employee salary"
'employee_salary'.humanize(capitalize: false) # => "employee salary"
*claudiob*
* Fixed Object#as_json and Struct#as_json not working properly with options. They now take
the same options as Hash#as_json:
* Fixed `Object#as_json` and `Struct#as_json` not working properly with options. They now take
the same options as `Hash#as_json`:
struct = Struct.new(:foo, :bar).new
struct.foo = "hello"
@ -25,15 +25,15 @@
*Sergio Campamá*, *Godfrey Chan*
* Added Numeric#in_milliseconds, like 1.hour.in_milliseconds, so we can feed them to JavaScript functions like getTime().
* Added `Numeric#in_milliseconds`, like `1.hour.in_milliseconds`, so we can feed them to JavaScript functions like `getTime()`.
*DHH*
* Calling ActiveSupport::JSON.decode with unsupported options now raises an error.
* Calling `ActiveSupport::JSON.decode` with unsupported options now raises an error.
*Godfrey Chan*
* Support :unless_exist in FileStore
* Support `:unless_exist` in `FileStore`.
*Michael Grosser*