You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After adding gem and migration when I tried to run migration, it gives this error.
After specifying rails version error goes.
I think it should be solved on gem side
=> Working syntax class CreateComments < ActiveRecord::Migration[6.1]
=> Not Working syntax class CreateComments < ActiveRecord::Migration
rails aborted!
StandardError: An error has occurred, this and all later migrations canceled:
Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
class CreateComments < ActiveRecord::Migration[4.2]
Caused by:
StandardError: Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
class CreateComments < ActiveRecord::Migration[4.2]
The text was updated successfully, but these errors were encountered:
After adding gem and migration when I tried to run migration, it gives this error.
After specifying rails version error goes.
I think it should be solved on gem side
=> Working syntax
class CreateComments < ActiveRecord::Migration[6.1]
=> Not Working syntax
class CreateComments < ActiveRecord::Migration
The text was updated successfully, but these errors were encountered: