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

Error uninitialized constant Spree::List #83

Open
sechix opened this issue Jul 10, 2017 · 1 comment
Open

Error uninitialized constant Spree::List #83

sechix opened this issue Jul 10, 2017 · 1 comment

Comments

@sechix
Copy link

sechix commented Jul 10, 2017

Hello, I am tryng to adapt this extension to solidus 2.2 with rails 5, but when I execute 'http://localhost:3000/admin/marketing/lists' I get an error : Error uninitialized constant Spree::List.

Any idea ??
Thanks!!!!

@tanmay3011
Copy link
Member

Hi @sechix
I guess the classes are not loading in the correct order. Can you please try adding this require_relative '../list.rb' in all the classes inherited by Spree::Marketing::List.

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

No branches or pull requests

2 participants