Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparations for Rails 5.2 #2465

Merged
merged 5 commits into from
Jan 17, 2018
Merged

Conversation

jhawthorn
Copy link
Contributor

A few changes to avoid warnings and errors on Rails 5.2

@jhawthorn jhawthorn mentioned this pull request Dec 20, 2017
11 tasks
@jhawthorn jhawthorn added this to the 2.5.0 milestone Dec 22, 2017
John Hawthorn added 5 commits January 2, 2018 16:56
Rails 5.2 has removed the ability to pass a string as the :if argument.
Fortunately, we didn't really need it here.
Rails 5.2 doesn't allow passing raw strings to order (to avoid
accidentally allowing user-provided strings)
secret_token is deprecated in Rails 5.2
Rails 5.2 has deprecated calling arel methods through delegation on an
AR scope.
Copy link
Member

@gmacdougall gmacdougall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for being proactive on this.

@jhawthorn jhawthorn merged commit a113017 into solidusio:master Jan 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants