Skip to content

Travis CI builds fail due to Rails 5.1 release #329

@mattbrictson

Description

@mattbrictson

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions