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

Already Initialized Constant Spree::PermittedAttributes::ATTRIBUTES Warning in Rails 7 #201

Open
edmondchui opened this issue Sep 1, 2023 · 0 comments · May be fixed by #202
Open

Already Initialized Constant Spree::PermittedAttributes::ATTRIBUTES Warning in Rails 7 #201

edmondchui opened this issue Sep 1, 2023 · 0 comments · May be fixed by #202

Comments

@edmondchui
Copy link
Contributor

Got this warning with Spree 4.6.1 running on Ruby 3.2 and Rails 7

/Users/echui/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/bundler/gems/spree_reviews-36ef2809191c/config/initializers/spree_permitted_attributes.rb:3: warning: already initialized constant Spree::PermittedAttributes::ATTRIBUTES
/Users/echui/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/spree_core-4.6.1/lib/spree/permitted_attributes.rb:3: warning: previous definition of ATTRIBUTES was here
@edmondchui edmondchui linked a pull request Sep 1, 2023 that will close this issue
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 a pull request may close this issue.

1 participant