solidusio / solidus_auth_devise

🔑 Devise authentication for your Solidus store.
http://solidus.io
BSD 3-Clause "New" or "Revised" License
52 stars 124 forks source link

Zeitwerk::NameError #193

Closed karthickattabomman closed 4 years ago

karthickattabomman commented 4 years ago

(expected file /home/maddy/Sites/DeviceMailer/app/controllers/registrations_controller.rb to define constant RegistrationsController, but didn't):

jarednorman commented 4 years ago

Unfortunately, you've provided almost no context around this error, but if I had to guess I'd assume you've just set up a new Solidus app on Rails 6 (using the Zeitwerk autoloader) and wanted to make modifications to the registrations controlle and that the file referenced contains those modifications. If that's correct, then you should consider using a decorator to make the modifications and may also want to review the docs on project file structure and Zeitwerk as the error you've encountered is directly related to that.

It's not clear from the details you provided (which don't reference any files from this extension) that you've encountered a bug in the extension itself. If this is more of a support request, please instead us the #support channel on the Solidus Slack. Whether you follow up here or in Slack, more context would be very helpful:

I'm closing this issue due to lack of details and because there's no evidence this is a bug in this extension. Please feel free to follow up with more information (so we can reopen the issue if it really is a bug) or take the issue to our #support channel. 🙂