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

decorate_attribute_type is removed in Rails 7 #382

Merged
merged 1 commit into from
Jul 14, 2021
Merged

decorate_attribute_type is removed in Rails 7 #382

merged 1 commit into from
Jul 14, 2021

Conversation

f-mer
Copy link
Contributor

@f-mer f-mer commented Jul 14, 2021

In rails/rails#39929 decorate_attribute_type was removed. Now the attribute method can also be used to decorate attributes. This PR uses attribute instead of decorate_attribute_type if the Rails version is >= 7.0.0.alpha. I've also added the Rails main branch to the test setup and left monogoid out of the Gemfile. As of now it does not seem to be compatible with Rails 7.

@nashby nashby merged commit 50c3f1d into brainspec:master Jul 14, 2021
@nashby
Copy link
Member

nashby commented Jul 14, 2021

@f-mer thanks!

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