Permalink
Browse files

Move changelog entry to the top, fix examples indent [ci skip]

  • Loading branch information...
carlosantoniodasilva committed Feb 18, 2014
1 parent 76fec33 commit 68345d4a1a6c9251826cb0a43182f6d934c5c822
Showing with 10 additions and 10 deletions.
  1. +10 −10 activesupport/CHANGELOG.md
View
@@ -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:

0 comments on commit 68345d4

Please sign in to comment.