You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have two different ways that we generate a resource: we override Rails' default ResourceGenerator in Ember::Rails::ResourceGeneratorOverridehere and the normal ember:resource generator (Ember::Rails::ResourceGenerator) is here.
These two mechanisms have not been kept in sync, and parts of both need to updated. I am working on a refactor that will make the ResourceGeneratorOverride simply invoke the ember:resource generator, and also update ember:resource to create the proper layout of files that you would expect (currently it only creates a singular named template/controller/route/model for the given name).
Check it:
It should be: https://github.com/emberjs/ember-rails/blob/master/lib/generators/ember/resource_generator.rb#L21
Unsure what's going on here.
The text was updated successfully, but these errors were encountered: