Sha256: a5b4b93a2211245a9f2bd5926374b2835426182795a7e6ef045364a8037d441e
Contents?: true
Size: 572 Bytes
Versions: 4
Compression:
Stored size: 572 Bytes
Contents
json.data do json.array! @follow_ups do |d| json.id d.id json.clazz d.clazz.name json.stage d.stage.name json.staff d.staff.user.real_name json.description d.description json.advise d.advise json.school d.business.department.school.name json.created_at d.created_at.to_s json.business d.business.name json.business_id d.business.id teacher_ids = d.key_person.pluck(:teacher_id) json.key_people EducodeSales::Teacher.where(id: teacher_ids).pluck(:name).join('、') end end json.code 0 json.count @follow_ups.total_count
Version data entries
4 entries across 4 versions & 1 rubygems