diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-02-18 12:53:00 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-02-18 12:53:01 -0300 |
commit | 68345d4a1a6c9251826cb0a43182f6d934c5c822 (patch) | |
tree | 4d21d0f1b95b47e47d2222ac8831aabf7e911bc5 | |
parent | 76fec334eed21a49642510d5ade388fa72a5fd6d (diff) | |
download | rails-68345d4a1a6c9251826cb0a43182f6d934c5c822.tar.gz rails-68345d4a1a6c9251826cb0a43182f6d934c5c822.tar.bz2 rails-68345d4a1a6c9251826cb0a43182f6d934c5c822.zip |
Move changelog entry to the top, fix examples indent [ci skip]
-rw-r--r-- | activesupport/CHANGELOG.md | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index f4c8a4dd72..713bb3c1e2 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,19 +1,19 @@ -* Time helpers honor the application time zone when passed a date. +* Added `Object#present_in` to simplify value whitelisting. - *Xavier Noria* + Before: -* Added Object#present_in to simplify value whitelisting. + params[:bucket_type].in?(%w( project calendar )) ? params[:bucket_type] : nil - Before: - - params[:bucket_type].in?(%w( project calendar )) ? params[:bucket_type] : nil - After: - - params[:bucket_type].present_in %w( project calendar ) - + + params[:bucket_type].present_in %w( project calendar ) + *DHH* +* Time helpers honor the application time zone when passed a date. + + *Xavier Noria* + * Fix the implementation of Multibyte::Unicode.tidy_bytes for JRuby The existing implementation caused JRuby to raise the error: |