Hello list, It came to my surprise when I read the 2.3 RC1 release notes, that engines have been added back into core. This has apparently happened in the dark so that hardly anyone noticed, although it's great to have them back.
When trying to use my existing "engine" (which I used with the desert gem in 2.2) I encountered a couple of issues however, that made my initial smile vanish very soon. First the routes in the engine's config/routes.rb file seem to override all existing ones which can hardly be intentional. Has really no one tested this or am I doing it the completely wrong way? I got it to "work" by adding the routes to the regular routes.rb file and removing config/routes.rb from the plugin that that has immediately raised another issue.. Namespaced controllers inside the engine don't seem to be recognized or even loaded, although a namespace imho makes sense especially in that scenario. Before filing a report on Lighthouse and looking into the code, I wanted to ensure it hasn't been my fault (especially with the routes) so if there's anything I should know, please shoot. Thanks to all contributors for their great work that went into 2.3 however! Cheers Pascal --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
