This week in Rails
Weekly inside scoop of interesting commits, pull requests and more from Rails, delivered to your inbox every Friday. Read more about our story!
Hello everyone! This is Roque with the latest from the Rails world.
This Week in Rails just crossed 4000 subscribers. Thanks to all subscribers and collaborators! Stay tuned!
26 people contributed to Rails this week, including 5 first-time contributors! If you are interested in becoming a contributor, you can have a look at the issues list.
Rails now allows any static file header to be defined using the configuration option config.public_file_server.headers.
This also deprecates the former option static_cache_control that would only apply the header Cache-Control.
The config.force_ssl option will now force mails to use the protocol https for the host setup in config.action_mailer.default_url_options.
Lets say your application has multiple root endpoints depending on a constraint. You can now describe them using root entries in your config/routes.rb file instead of having to use get statements.
This will prevent issues when performing updates from different instances of a same record.
where will raise ArgumentError on unsupported types.
That's all for This week in Rails. As always, there are many more changes than we have room to cover here, but feel free to check them out yourself.
Until next time!