This week in Rails
Oct 21 2016
Hey peeps, Kasper here.It's that time of the week again, when that newsletter you read while frantically checking http://downforeveryoneorjustme.com is here.Oh, you think we're down, cupcake? I'm afraid that's just you buddy, we're fired up and ready to go!
This weeks Contributors
Did you know you can contribute to Rails? Oh, I'm not kidding! It's totally open source and everything.In fact check the next item if you're looking to join the list, codeslinger!
JRuby turns Rails green with envy
Before RubyConf the JRuby team would like to get the whole Rails test suite passing and green.Already some fixes have been committed. Check out the linked tweet and see if there's something you can help with.
Optimistic locking unlocks overriding
If you'd been a good sport and optimistically tried to set the lock column value, you'd be sorry. Now you would be happy because it's fixed!
Allow any key in Renderer environment hash
Since Rails 5 you've been able to render templates outside of your controller actions. Now you can pass in arbitrary keys when performing that kind of rendering.
Publicize process in controller tests
In your ActionDispatch::IntegrationTest controller tests you can use the `get` etc. request shorthands which would just pipe through to a private `process` method.Now that method is public so you can better see the documentation on it.
Prevent test framework from loading in production
Some dingus accidentally caused minitest to be loaded in the production environment.Luckily that's fixed now!
That's it for this week, as usual there were more changes than what we can fit, feel free to check them yourself here. Until next week!