This week in Rails
Jun 24 2017
This Week in Rails: 5.1.2.rc1 released and faster fixtures
Hi there! This is
from chilling Ottawa, bringing you another edition of This Week in Rails. Let's dive in.
🎉 This Week's Rails contributors! 🎉
We had 21 awesome people who helped make Rails better this week, with one first-time contributor! Would you like to help as well? Head over to the 👉
🎉 Rails 4.2.9.rc2, 5.0.4 and 5.1.2rc1 have been released 🎉
It's your chance to help us discover bugs in 4.2.9 and 5.1.2 release candidates. Also, Rails 4.2.9 will be the last release in 4.2 series, so it's time to upgrade if your app is still running on Rails 4.
Use bulk INSERT to insert fixtures
Inserting fixtures in test environment became significantly faster by using one bulk INSERT query instead of many single INSERTs.
current_page? helper now works from within a Rails Engine
Due a bug related to a trailing slash,
helper always returned false while it was supposed to return true when it was called from a Rails Engine route.
Keep INNER JOIN when merging relations
Now you can safely merge two ActiveRecord relations both having a JOIN. Previously, that would to query with LEFT OUTER JOIN instead of INNER JOIN.
That's it for this week, as always, we couldn't cover all of the changes, but feel free to check all the
from this week.
Until next week! 👋👋
This Week in Rails · 30 N Racine #200 · Chicago IL 60607 · USA