-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Multiple Resources in an Extension - Generator Conflicts #1532
Comments
Yeah I'm running into this too. Is the best workaround just to copy the files into the original namespace and do the |
First of all the guide @jeffutter is referring to unfortunately is out of date. I'll update it shortly. Next - we are using something like this Imo the best option here would be to do as @willcosgrove mentioned - manage seeds and generators by hand. |
Or we could try to merge two seeds files into one... let me investigate. |
….rb file instead of overwriting it. #1532.
@parndt @jeffutter @willcosgrove thoughts? |
Looks great to me |
@parndt Any reason this was reopened? |
@robyurkowski corresponding patch hasn't been fully merged by @ugisozols yet Hurry up @ugisozols ;) |
I'm struggling with specs but other than that it should be mergable. |
Fixed by c5f3301 |
….rb file instead of overwriting it. #1532.
It seems that the generators aren't naming seeds.db and generator.rb correctly so that you can generate multiple resources for an extensions. Below are the commands I'm running that run into this issue.
As you can see both extensions try to create seeds.rb and galleries_generator.rb instead of naming them properly as http://refinerycms.com/guides/multiple-resources-in-an-extension shows that they should
The text was updated successfully, but these errors were encountered: