Blog
Categories
Projects
All Posts
Rails with_connection: The better way to manage database connections
Rails 7.2 introduced `with_connection` for better database connection management. Learn why you should use it instead of the traditional `connection` method.
Rails 7.1 handles long auto-generated index names with a limit
Rails 7.1 adds a limit of 62 bytes on auto-generated index names. There is also a bonus deep dive at the end.
The target _blank vulnerability
Are you using target='_blank' in your links? If you are, you should be using rel='noopener noreferrer' with it.
Rails adds a limit of fetching 10 records when using pretty print
ActiveRecord::Relation#pretty_print is a method that pretty prints an ActiveRecord::Relation object.
« Prev
1
2
Next »
Stay up to date with our blogs.
Subscribe to receive updates on Ruby, Rails, and building scalable backend systems.
Subscribe