Sha256: d6d25153e0ab74b674c6c36d1cd8f4e0c84a6828f130b08308dd1cdfa771c146
Contents?: true
Size: 246 Bytes
Versions: 1
Compression:
Stored size: 246 Bytes
Contents
<%= application_name.camelize %>.<%= class_name %> = DS.Model.extend<%= "()" if attributes.length == 0 %> <% attributes.each_index do |idx| -%> <%= attributes[idx][:name].camelize(:lower) %>: DS.attr('<%= attributes[idx][:type] %>') <% end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ember-rails-0.12.0 | lib/generators/templates/model.js.coffee |