[Rails-core] [ANN] Rails 4.1.2 and 4.0.6 have been released!

2014-06-26 Thread Rafael Mendonça França
Hi everyone, Rails 4.1.2 and Rails 4.0.6 are finally out. Rails 4.1.2 is the first bug fix release for the 4.1 series. Rails 4.0.6 includes a lot of bug fixes to make the upgrade path from Rails 3 easier. ## CHANGES since 4.0.5 To view the changes for each gem, please read the changelogs on

[Rails-core] Feature request: Modify TimeWithZone#as_json to take in an option to exclude decimal fractions

2014-06-26 Thread Kirk Chen
Currently the TimeWithZone#as_json always returns 3 decimal points. However, the ISO 8601 standard also supports no decimal point format. It would be great to add an option to the as_json method to not include decimals. This would have several advantages. - By default, it still returns 3

Re: [Rails-core] Feature request: Modify TimeWithZone#as_json to take in an option to exclude decimal fractions

2014-06-26 Thread Matt Jones
On Jun 26, 2014, at 12:44 PM, Kirk Chen chen.k...@gmail.com wrote: Currently the TimeWithZone#as_json always returns 3 decimal points. However, the ISO 8601 standard also supports no decimal point format. It would be great to add an option to the as_json method to not include decimals.