daitokai/daitokaiet

View on GitHub
app/views/api/v1/records/index.json.jbuilder

Summary

Maintainability
Test Coverage
json.array!(@records) do |record|
  json.extract! record, :id, :target_date, :weight, :comment, :created_at, :updated_at
  json.url post_url(record, format: :json)
end