spree-contrib / spree_static_content

Manage static pages for Spree Commerce.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
217 stars 333 forks source link

Please specify the Rails release the migration was written for in gem 'spree_static_content', github: 'spree-contrib/spree_static_content' #230

Closed Luke-Popwell closed 7 years ago

Luke-Popwell commented 7 years ago

couldn't run migration without manually entering the Rails release was written for on all the created migrations using this extension

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 RemoveShowInFooterFromSpreePages < ActiveRecord::Migration[4.2]
StandardError: Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:

  class RemoveShowInFooterFromSpreePages < ActiveRecord::Migration[4.2]
damianlegawiec commented 7 years ago

We're working on it :) All major spree-contrib gems will be updated to Rails 5.1 and Spree 3.3 in a matter of days

damianlegawiec commented 7 years ago

Fixed via https://github.com/spree-contrib/spree_static_content/pull/231