Ember and Rails newb are here with a serious question about everyone.
I am creating a project that uses ember-rails installation as shown here: https://github.com/dgeb/ember_data_example
However, to make things even more complex, the project must be packaged as a gem for inclusion in a larger application. To this end, I created a mountable engine containing a dummy project for testing.
The problem is that ember-rails and, in particular, pens cannot find patterns in their intended location. This prevents many functions from working properly.
In terms of moving the steering template directory, I found a solution here: How do I specify an alternative directory for my HandlebarsJS templates with ember-rails stone?
In conclusion, we say that we can specify the path to the templates in application.rb by setting the value config.handlebars.templates_root
However, I think this will cause a conflict if another ember-rails engine needs to be loaded into a larger application .. and this will require its own configuration parameter.
Does anyone have any experience with these settings and is there a way to make the ember namespace app enjoyable in a wider context?
By the way, these are rails 4, working with the latest reliefs on ruby ββ1.9.2.
source share