Rails 4.2 does not work with prototype

I’m trying to migrate an app that still uses prototype from Rails 4.1 to 4.2.

If support was dropped, it should have been documented and disabled.

I’ve filed the issue here: https://github.com/rails/prototype-rails/issues/32