solidusio / solidus_auth_devise

🔑 Devise authentication for your Solidus store.
http://solidus.io
BSD 3-Clause "New" or "Revised" License
52 stars 124 forks source link

Fix warnings on Rails 5.0, support Rails 5.1 #86

Closed jhawthorn closed 7 years ago

jhawthorn commented 7 years ago

Refs: #82, #84

Using ActiveRecord::Migration directly generates warnings on rails 5.0 and errors on rails 5.1. Specifying a version still errors on rails 4.2.

This uses the new solidus_support gem, which has a help to work around this issue.

We should be able to use this in the other extensions as well