Sha256: e369391833806c968cd740b047445ad3e76fc0dd802e41e147a2e31fecd5747a
Contents?: true
Size: 256 Bytes
Versions: 23
Compression:
Stored size: 256 Bytes
Contents
json.id @<%= resource.underscore %>.id.to_s json.extract! @<%= resource.underscore %><%= fields_as_params %> <% fields.each do |name, type| %><% if type == "has_many" %>json.<%= name %> @<%= resource.underscore %>.<%= name %>, :id, :name<% end %><% end %>
Version data entries
23 entries across 23 versions & 2 rubygems