-
Notifications
You must be signed in to change notification settings - Fork 5
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
Routes paths breaking on ruby 2.2.2 #61
Comments
fork https://github.com/maurodias/notifly worked fine on ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux] |
@maurodias you modifications with regards to the Notifly::Engine aren't recommended by Ruby on Rails Guides. Without the isolated namespace Notifly's models, controllers, routes and other things can "leak" into the application and cause undefined behaviour if the application has anything with the same name as the engine. |
@douglascamata, its already isolated =) |
@maurodias according to what is said in the documentation, it's not isolated unless
|
@douglascamata, maurodias@f5e481a :D check it out |
@maurodias oh, I see. Are all specs ok? If yes, then it deserves a pull request 👍 |
=\ not yet |
@maurodias did you try putting back |
The way it was? the way errors were heppening for me... the gem generators and every rails generator(after notifly install) was executing the tasks in the gem path... Example: when you do Not sure about removing |
@maurodias that's not an unknown issue, I know it happened more times, but I still don't know why. |
It starts to happen out of nowhere too, which is very awkward. |
I don't know if used to run, but routes helpers on Notifly generated template is allowing only to call Notifly routes helpers It runs now if you turn it explict, example: In case it has never worked, I think it would be a nice feature to do. |
Requests are being sent to /notifications when the path expected is /notifly/notifications.
On 2.2.1 and earlier versions works fine.
The text was updated successfully, but these errors were encountered: