If you have been reading our newsletter, you might remember that Rails 4.2 will ship with native support for JSONB columns in PostgreSQL. This pull request went the extra mile to make sure that the SchemaDumper can recognize and correctly dump/load it in schema.rb.
This is an attempt to mitigate a performance regression that was reported for Active Record 4.2 was reported earlier this week. If you found any similar issues with the latest beta release when benchmarking your application, please send them our way!
In case you wasn't aware of it, Active Support comes with lots of handy extensions to the core Ruby classes. Hash#slice is of these extensions, and its documentation just got a little be better this week with an example use case. Along the same lines, you might also want to check out Hash#except as well.
In case you missed it earlier, the binstubs are the suggested way to run the rake and rails commands in Rails 4+ projects. This pull request corrected a few references to the "bare" rails command in the guides.
Ruby 2.1.4 has been released last week, featuring 2 security patches as well as a feel bug fixes. If your Rails apps are running on the 2.1 release series, be sure to upgrade to this latest version as soon as possible!
And that's it for this issue of This week in Rails. As always, there are a lot more changes on Rails than what I can cover in this newsletter, so I encourage you to check them out yourself!
If you would like to help deliver the latest Rails news to 1300 readers every week, we are currently in the process of assembling an editorial team for this newsletter. Interested? Shoot me an email!
As always, if you have any feedback for me, please feel free to email me or let me know on twitter! Thank you for reading!