Ruby News has compiled a digest of the most interesting news for June so you don’t miss anything:
link_to is a helper method in Rails that is very useful to enable users to navigate through applications.
This post will dive into the ins and outs of feature flags in Rails, including how to set them up using the Flipper gem.
The post about the performance difference between attr_accessor and a regular method (hint: prefer a built–in one, it’s way faster).
Rails 7.1 has added a new method called authenticate_by. This method can be used along with has_secure_password and takes the same amount of time to authenticate a user regardless of whether the user is present in the database.
Rails now allows adding the active record configuration to specify the maximum number of records that will be destroyed in a single background job and enqueue additional jobs when the number of records exceeds that limit.
Follow the latest news and events on Ruby News and our social media to stay in touch!