Now available in a beta, Rails 7.1 will generate all Dockerfiles needed for deployment, tuned for production use. Credit: SasinTipchai / Shutterstock With the beta release of Ruby on Rails 7.1, the Ruby-based web application framework now will produce all the Dockerfiles needed to deploy an application. Unveiled September 13, Rails 7.1 beta 1 offers default Docker support. When generating a new application, the framework now will include Docker-related files in the application. These files are turned for production use with caching layers, multi-stage building to minimize large image sizes, and dependences needed whether developers use a JavaScript build environment or not. Developers can access Rails 7.1 beta 1 from GitHub. Also in Rails 7.1: Built-in support is offered for the Trilogy MySQL database adapter. New applications can be generated by using the Bun JavaScript runtime. Capabilities are featured for building an authentication system, to complement has_secure_password. For starters, normalizes declares an attribute normalization, to normalize attributes before saving to a database. Then, authenticate_by protects againt common timing attacks when a user is authenticated in a controller. Also, generates_token_for can be used to implement features such as password reset, and has_secure_password can verify the current password when updating the password. Support for asynchronous queries has been expanded for Active Record, making it easier to run multiple, slow queries in parallel. The perform_all_later method in Active Job was added to streamline the process of enqueuing large numbers of jobs simultaneously. A new configuration method, config.autoload_lib(ignore:) has been introduced, to enhance the autoload paths of applications. Related content news Spin 3.0 supports polyglot development using Wasm components Fermyon’s open source framework for building server-side WebAssembly apps allows developers to compose apps from components created with different languages. By Paul Krill Nov 18, 2024 2 mins Microservices Serverless Computing Development Libraries and Frameworks how-to How to use DispatchProxy for AOP in .NET Core Take advantage of the DispatchProxy class in C# to implement aspect-oriented programming by creating proxies that dynamically intercept method calls. By Joydip Kanjilal Nov 14, 2024 7 mins Microsoft .NET C# Development Libraries and Frameworks news Microsoft’s .NET 9 arrives, with performance, cloud, and AI boosts Cloud-native apps, AI-enabled apps, ASP.NET Core, Aspire, Blazor, MAUI, C#, and F# all get boosts with the latest major rev of the .NET platform. By Paul Krill Nov 12, 2024 4 mins C# Generative AI Microsoft .NET feature Can Wasm replace containers? WebAssembly revolutionized browser apps, and promises to upend the server stack. How will it impact containers and Kubernetes? Six experts weigh in. By Bill Doerrfeld Nov 11, 2024 12 mins Containers Kubernetes Cloud Native Resources Videos