- 27 February, 2017 22:00
Rails 5.1 also features an encrypted secrets management capability. An encrypted secrets file is set up by using the bin/rails secrets:setup capability, which generates a master key to store outside the repository while enabling developers to commit production secrets.
For system tests, Rails 5.1 includes a wrapping of the Capybara Ruby library for application testing. It comes preconfigured for the Chrome browser and enhanced with failure screenshots. The parameterized mailers feature offers the option to call mailers with parameters available before an action is invoked. Rails 5.1 simplifies form creation by unifying two hierarchies,
form_with. A directed routes function, meanwhile, enables declaration of programmatic routes that can use Ruby to perform functions depending on parameters.