Goodbits logo black in white circle

This week in Rails

Past issues
Jul 25 Aug 8

Aug 1 2014

Issue #18


Logo for This week in Rails

Issue #18

Welcome to This week in Rails, your weekly inside scoop of interesting commits, pull requests and more from Rails. Without further to do, let's dive right into the highlights of the week!

Featured

This week's Rails contributors

This week's Rails contributors

Thanks to these 27 (and counting) contributors, the framework we love just learned a few new tricks.

New Stuff

Object#itself

Object#itself

Originally added as Object#self and since renamed to Object#itself to match the upstream proposal, this method does pretty much what you would expect – return itself. Check out the discussion thread on redmine for some example use cases.

Implicit receiver support for `Object#with_options`

Implicit receiver support for `Object#with_options`

If you haven't used it yet, Object#with_options is a convinent way to DRY up your declaritive code. This week, it learned a new trick to remove even more boilerplate code.

Fixed

Deprecate `*_path` methods in mailers

Deprecate `*_path` methods in mailers

Naturally, relative URLs would not work within HTML emails. This pull request attempts to help Rails developers avoid the common mistake of using _path helpers in mailer templates.

Clarify how the ConnectionHandler works

Clarify how the ConnectionHandler works

For those who need to figure out how to use Active Record with multiple databases, your life just got a bit easier this week with this documentation change.

Wrapping up

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 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. Feel free to 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