-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Im not sure if this will be qualified as an issue, due to my lack of understanding with rails. Although, I thought I would still document this just incase.
After creating a passing test. I got an error after running "rake". Error listed below.
StandardError:
Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
Solution: The link below is how i found the solution. In spec_helper.rb, i put [5.0] after migration,
like...
class CreateSchema < ActiveRecord::Migration[5.0]
instead of...
class CreateSchema < ActiveRecord::Migration
Source - RolifyCommunity/rolify#444
Metadata
Metadata
Assignees
Labels
No labels