#51 Ruby 3.1.0 Preview 1; Under the hood of the includes method in Rails ๐ŸŽ‰

Happy Wednesday!

Here is issue #051 of our newsletter, where we collect news and tools that we find interesting for your Rails project.

1. How ruby_memcheck Finds Memory Leaks in Native Gems: An article about memory leaks in ruby and how to find them using ruby_memcheck. ๐Ÿ”Ž

2. Ruby 3.1 merges YJIT, a new in-process JIT compiler developed by Shopify. A look at what is new in ruby 3.1.0. ๐Ÿš€

3. Rails 7 replaces Webpacker with importmapped Hotwire as default JavaScript setup: Rails has a love-hate relationship with JavaScript. However, much of the modern web now wouldnโ€™t exist without JavaScript. ๐Ÿ˜Ž

4. Under the hood of the includes method in Rails: The way the includes method work in Active Record is one of the most common questions during interviews, yet many developers are unaware of how that method behaves..๐Ÿฅณ

5. Rails under the hood: Routes: Routes engine is the core part of every Rails application. Thanks to the config/routes.rb file, we can easily define the applicationโ€™s routes using special DSL. Letโ€™s take a closer look at the coder under the hood to understand a bit of Railsโ€™ magic.

We hope you find these links useful. Feel free to forward it to your friends! ;)

Have a nice week!

The FastRuby.io team.

* Want to know what upgrading to 6.1 would require? Request an audit to find out what catching up will require.

* Already on 6.1? Check out our Stay Up To Date service so you can be ready for Rails 7.0.

We are hiring! ๐Ÿ˜Ž

We are looking for a Ruby on Rails Engineer interested in joining a fully remote and collaborative team. Come work with us!


Meet Our Team Members!

Lewis D'Avanzo, Junior Software Engineer


OmbuLabs: Why did you decide to become a developer?

Lewis: I decided to become a developer because I was looking for a career change and a friend suggested I might enjoy it (apparently, musicians take to programming pretty well). I've always enjoyed solving puzzles and interesting problems and now I get to do it for my job!.

OmbuLabs: What do you like most about OmbuLabs?

Lewis: The most interesting thing I've learned so far is how much there is to learn! I figured being a developer would be a never-ending educational journey, but I was surprised by how often even Senior developers announce new, cool things they've learned. I was also kind of surprised that I was able to teach more Senior devs something new about JavaScript (since most of our work is in Ruby).

OmbuLabs: What is a personal thing you would like to share about you?

Lewis: I grew up on the same 'E Street' that Bruce Springsteen's band is named for.

OmbuLabs: What is the most interesting thing you've learned while working for us?

Lewis: Team work. There is no "I" but "We" at Ombulabs. We share our successes and failures as a team.

OmbuLabs: What do you like to do when you're not working?

Lewis: When I'm not working I like to play music (I currently play bass in one band and drums in another) and video games. I also enjoy watching soccer and reading random articles on Wikipedia.

Don't wait to bring your Rails application up to date.

We will get on a quick call and recommend a couple of options to start upgrading your Rails app.