Saturday, May 20, 2017

This Week in Rails: Recycled cache keys and more!

Posted by gregmolnar

Hi there! This is Greg with the latest news about Rails!

This Week’s Rails contributors!

22 person worked on making Rails better this week. Big thanks to them!
If you want to be a part of that, check the issues list!

New

Recyclable cache keys

With this change Rails, will be able to recycle the cache keys and if you have big volume cache write, your cache space will be better utilised.

Fixed

Allow irb options to be passed from rails console command

Pre Rails 5, the rails console accepted irb options, but a change in Rails 5 break that feature. Now it is fixed, so you can pass the options like this:  rails c – –simple-prompt.

Improved

Respect SchemaDumper.ignore_tables in databases structure dump

This change makes Active Record respect the ignored tables if you configured any.

Don’t cache locally if unless_exist was passed

If your cache backend supports the unless_exist option, you can configure Rails to delete the local cache and read the correct value from the backend.

That’s it for this week, as always, we couldn’t cover all of the changes, but feel free to check the commits if you are interested.
Until next week!