mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Move changelog entry to the top, fix examples indent [ci skip]
This commit is contained in:
parent
76fec334ee
commit
68345d4a1a
1 changed files with 12 additions and 12 deletions
|
@ -1,19 +1,19 @@
|
|||
* Added `Object#present_in` to simplify value whitelisting.
|
||||
|
||||
Before:
|
||||
|
||||
params[:bucket_type].in?(%w( project calendar )) ? params[:bucket_type] : nil
|
||||
|
||||
After:
|
||||
|
||||
params[:bucket_type].present_in %w( project calendar )
|
||||
|
||||
*DHH*
|
||||
|
||||
* Time helpers honor the application time zone when passed a date.
|
||||
|
||||
*Xavier Noria*
|
||||
|
||||
* Added Object#present_in to simplify value whitelisting.
|
||||
|
||||
Before:
|
||||
|
||||
params[:bucket_type].in?(%w( project calendar )) ? params[:bucket_type] : nil
|
||||
|
||||
After:
|
||||
|
||||
params[:bucket_type].present_in %w( project calendar )
|
||||
|
||||
*DHH*
|
||||
|
||||
* Fix the implementation of Multibyte::Unicode.tidy_bytes for JRuby
|
||||
|
||||
The existing implementation caused JRuby to raise the error:
|
||||
|
|
Loading…
Reference in a new issue