Goodbits logo black in white circle

This week in Rails

Past issues
May 4 May 16

May 12 2014

Issue #9


Logo for This week in Rails

Issue #9

Welcome to This week in Rails, your weekly inside scoop of interesting commits, pull requests and more from Rails.

Featured

Aaron Patterson is retiring

Okay, not really. But this week marked Aaron's 4087-th commit in the Rails repository which was the previous record held by @jeremy.

Although the commit count is an easy metric to gather, it is probably one of the least useful proxy for quantifying the amount of time, effort and love these people have put into this framework.

Please take a moment today and express your gratitude towards these heroes who made our jobs so much easier (and fun)!

Rails 3.2.18, 4.0.5 and 4.1.1 have been released!

These are security releases containing only the patches that are relevant to fixing the disclosed vulnerabilities, without other unrelated bug fixes, features, etc. Please upgrade as soon as possible!

Please welcome @matthewd as the latest committer!

Matthew Draper has been doing a lot of work great work on the database side of things, as well as working with Aaron to mentor the Facebook Open Academy students.

This week's contributors

Please thank @rafaelfranca, @tenderlove, @senny and the 30 other contributors who made the framework we love even better this week, hope to see you there next time!

New Stuff

New PostgreSQL features guides

@senny wrote these excellent guides about the "new" PostgreSQL features – you can see them rendered here.

By the way, there are many other "new" features with sparse guides coverage, so it would be great to have you come onboard and help fill some of those gaps!

Several enhancements to `humanize`

@fxn has made some improvements to the humanize method. You might want to check if these new rules will work correctly in your application.

Deprecated joinining/eager-loading of instance-dependent associations

If your association is defined with a custom scope that takes an argument (the record), naturally they cannot be joined or eager-loaded correctly. This patch detects and warn about those instances.

Fixed

Restore functionality of `Relation#join` on 4.1

This restored the functionality of Relation#join (e.g. .where(...).join(...)) to the expected Array behaviour for the 4.1 release series. If you have such code in your app, a temporary work around is to do add a to_a after the relation before 4.1.2 comes out.

Removal of deprecated require path

The previous deprecated require path, active_support/core_ext/object/to_json has been removed from master. This is also a periodic reminder that you can use config.active_support.deprecation = :raise to aggressively find and clean up deprecated code (docs). Not something I'd recommend doing in production of course!

Fixed `HTTP::Headers#key?`

While improving the documentation, @schneems stumbled upon a bug in the code, and submitted a fix for it. If you are looking for ways to start contribute to Rails, this seems like an excellent path to follow!

Not Fixed

Use better method name, we must

I know I'm a week late, but may the fourth be always with you! Resist the urge to comment though, as it will create a lot of noise for the 1500 subscribers of this repository :)

One More Thing

Goodbits is now open for everyone

The product powering this newsletter is now open for sign up, if you would like to share content with your customers, colleagues, friends, family or Internet followers, you might want to check it out!

Wrapping up

And that's it for this issue of This week in Rails. As always, there are a lot more interesting things happening on Rails than I can cover here, so I encourage you to check them out!

If you have any feedback for me, please feel free to email me or let me know on twitter!

Thank you for reading! <3 <3 <3

P.S. If you liked what you read, please share this newsletter with your Rails friends!











Previous Issues

  • Sep 27

    Autumn is here, and so is Rails 7 Alpha 2! 🍂

  • Sep 17

    Rails 7 alpha released

  • Sep 12

    Bye-bye Byebug, Hello jsbundling and cssbundling!

  • Aug 28

    Remove default reliance on Sass and more!

  • Aug 21

    Good-bye classic mode, --skip-puma, --skip-gemfile.. hello weekday_options_for_select!

  • Aug 13

    ESM importmap and Marginalia

  • Aug 8

    Active Record goodies and more!

  • Jul 31

    Favicons, InvalidAuthenticityToken message gains, Journey optimizations and more!

  • Jul 23

    Active record improvements and much more

  • Jul 19

    Performance and parallel testing improvements and more!

Load More

© 2014-2025 This week in Rails.

Goodbits logo square wrapper Published on Goodbits