Rails7
Rails Routes Prefixed with cable
Rails improved its support for routes which helps us to navigate to routes prefixed with word cable which were throwing 404 errors before.Rails 7 SQLite Binary Column Defaults
Binary columns now behave like other column types with default values in SQLite.Rails 7 through_reflection Transactions
Models that use multiple databases now perform writes within a single transaction.Rails 7 SCHEMA_FORMAT Environment Var
Previously rails db:schema:{dump,load} would only dump Ruby format. Now it reads ENV["SCHEMA_FORMAT"] to choose between Ruby and SQL formats.Rails 7 Screenshot Helper Options
Pass in parameters to take_screenshot to choose an output format between image and HTML file.Rails Beginless Range in Validations
Rails now adds support to include the beginless range in active record inclusivity/exclusivity validators.Infinite Scroll with Turbo Only
Infinite Auto Scroll on Rails 7 using only Turbo Frames and Turbo Streams without a Single line of Javascript.Rails Skips Contradictory Relation Queries
Rails now avoids making a query to the database if the calculation contains a contradictory relationCaching Gems with Docker Multi-Stage build
Docker Multi-Stage Builds allow copying of files from registries and can be used to speed up builds by adding Gem CachesAvoiding Overuse of Rails Engines
In this post, we will see how the overuse of engines could lead to some serious issues.
Newer
