Rails 5.1 final has been released, and our Travis CI build is automatically picking it up.
This causes problems because certain deprecated features have been completely removed in Rails 5.1. Among those are non-versioned migrations. Rails 5.1 now requires that every migration specify an explicit Rails version number.
Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
class CreateUsers < ActiveRecord::Migration[4.2]
Failing build:
https://travis-ci.org/bootstrap-ruby/rails-bootstrap-forms/builds/227443604
Rails 5.1 final has been released, and our Travis CI build is automatically picking it up.
This causes problems because certain deprecated features have been completely removed in Rails 5.1. Among those are non-versioned migrations. Rails 5.1 now requires that every migration specify an explicit Rails version number.
Failing build:
https://travis-ci.org/bootstrap-ruby/rails-bootstrap-forms/builds/227443604