lib/generators/templates/model.js.es6 in ember-appkit-rails-0.1.2 vs lib/generators/templates/model.js.es6 in ember-appkit-rails-0.2.0
- old
+ new
@@ -1,5 +1,5 @@
-export default = DS.Model.extend({
+export default DS.Model.extend({
<% attributes.each_with_index do |attribute, idx| -%>
<%= attribute[:name].camelize(:lower) %>: <%=
if %w(references belongs_to).member?(attribute[:type])
"DS.belongsTo('%s.%s')" % [application_name.camelize, attribute[:name].camelize]
else