This Week in Rails: PhantomJS replaced with Chrome headless, bugfixes and more!

Posted by kirshatrov, October 21, 2017 @ 12:00 am in News

Hi there! It’s Kir, bringing you a new edition of This Week in Rails!

Replace PhantomJS with Selenium/Chrome headless

PhantomJS has been abandoned. At the same time Chrome provides native support for headless mode that is now the recommended way.

Allow symbol list for ignored_columns

This PR fixes a bug when assigning symbols to ignored_columns in Active Record was ignored. Now the accessor accepts both strings and symbols.

Fix ajax callbacks in UJS

Previously, returning false from the ajax:beforeSend callback didn’t cancel the request as it was expected.

That’s it for this now! As always, there isn’t enough time to cover every change if you’d like check out the full list of changes yourself.