Rails 5 migration classes look like this now:
class CreateUsers < ActiveRecord::Migration[5.0]
Mind the [5.0]
at the end.
They do this to evolve the ActiveRecord::Migration API without breaking your historical migrations in db/migrate
.
Posted by Henning Koch to makandra dev (2016-09-22 07:33)