Ruby 3 JIT Can Make Rails Faster— Ruby introducing its own JIT compiler got people pretty excited at the potential performance increases, but it hasn't suited many real world situations, such as Rails apps, so far. But things are changing. Taking a “compile all the things” approach with Ruby 3.0 can bring performance improvements (modest for now, but it’s promising). Takashi Kokubun |
A Journey to Sorbet Stability— The latest in a series of posts about working with the Sorbet Ruby type checker and the how and why to integrate it with an existing app. Alex Dunae |
Understanding Ruby Method Lookup— This is one of those topics that is always good to revisit (or see for the first time) to remember how many different ways methods can be added to classes and objects. Kingsley Silas (Honeybadger Development Blog) |
Using Postgres Row-Level Security in Rails— Row-level security in Postgres and Rails is much easier to configure and set up than you might imagine, but that doesn’t mean you should use it for everything. Eze Sunday Eze |
ActiveRecord's new Takes a Block, Kid— How to pass a block to different ActiveRecord methods to set attribute values. It compares passing the block to other options that ActiveRecord provides, along with comparing it to the tap method. Kevin Murphy |
Tracking Opened Emails in Rails— Ensure you have a legitimate reason to do so and that your use case complies with local privacy laws, of course. Dmitry Ishkov |
▶ A Chat with Chris Oliver, Creator of GoRails— GoRails is a popular Ruby and Rails education site (we link to their freely viewable videos quite often) and if you’re interested in the story behind the site and how it works as a business, this is worth a listen. Rails with Jason Podcast podcast |
▶ The RailsConf 2021 Story with Marty Haught and Evan Phoenix— Two directors of Ruby Central and organizers of RailsConf caught up with Brittany Martin to talk about how the fully online RailsConf 2021 came together and how RubyConf 2021 will work as a dual virtual and in-person event. Ruby on Rails Podcast podcast |
Engineering Manager Ruby— Lead the platform squad in an international environment, providing a personal educational budget and 30d of vacation.
Homeday |
Find Ruby Jobs with Hired— Take 5 minutes to build your free profile & start getting interviews for your next job. Companies on Hired are actively hiring right now.
Hired |
|
Rpush 6.0: A Push Notification Service for Ruby— A long standing project. Rpush supports numerous push notification services including those from Apple, Firebase, and Amazon, and this new release adds Ruby 3 and Rails 6.1 support. 6.0 drops Rails <5.2 support, fixes some APNS bugs, and improves Ruby 3.0 support. Leitch et al. |
No full Tip of the Week this week, but we enjoyed this tip on Twitter about using ActiveSupport::Configurable to add a config object to the classes of your choice. |
|