Ruby on Rails, the two-decades-old net improvement framework, options higher manufacturing defaults and improvement container configuration within the just-released 7.2 model, in response to proponents.
Introduced on August 10, Ruby on Rails 7.2 affords improved manufacturing defaults for constructing more- environment friendly functions. Rails proponents cited a number of modifications. The Ruby language’s JIT compiler, YJIT, is now enabled by default if working Ruby 3.3 or newer, and the variety of default threads within the Puma net server was modified from 5 to a few. This improves latency by decreasing the time Ruby spends ready for the World VM Lock (GVL) to launch when the thread depend is simply too excessive. Moreover, the default Dockerfile generated by Rails now contains the jemalloc allocator.
For improvement containers, Rails 7 now can generate a improvement container configuration for an utility. The configuration features a .devcontainer
folder with a Dockerfile
, a docker-compose.yml
file, and a devcontainer.json
file. The dev containers have options equivalent to a database (SQLite, Postgres, MySQL, or MariaDB) and a headless Chrome container for system assessments.