The Ultimate Guide to Gemfile and Gemfile.lockIn-depth overview of what a Gemfile is and how a Gemfile works.
Ruby introduces Regexp.timeoutRuby introduces the Regexp.timeout feature to prevent the unexpectedly Regexp matching and risk of DoS.
Rails 6 bulk insert recordsRails 6 adds insert_all and upsert_all methods to ActiveRecord
Rails avoids queries when performing calculations on contradictory relationRails now avoids making a query to the database if the calculation contains a contradictory relation
Caching Gems with Docker Multi-Stage buildDocker Multi-Stage Builds allow copying of files from registries and can be used to speed up builds by adding Gem Caches
Overuse of Rails enginesIn this post, we will see how the overuse of engines could lead to some serious issues.
Rails for Multi database defines reading_request? in resolverRails moves reading_request? method from the DatabaseSelector to the DatabaseSelector::Resolver class so that we can override the method in custom Resolver.
Rails 7 extends audio_tag and video_tag to accept Active Storage attachmentsRails 7 extends audio_tag and video_tag to accept Active Storage attachments