Sha256: 76faef6ecc3e7d55b660192e2e57ecabf674dd724ae07317a04bb2dd8e1e2949
Contents?: true
Size: 401 Bytes
Versions: 106
Compression:
Stored size: 401 Bytes
Contents
json.data do json.array! @teachers do |d| json.id d.id json.name d.name json.professional_title d.professional_title json.job d.job json.attitude_id d.attitude_id.present? ? d.attitude_id : '' json.attitude d.attitude&.name json.sex d.sex json.birth_date d.birth_date json.remark d.remark json.tel d.tel end end json.code 0 json.count @teachers.total_count
Version data entries
106 entries across 53 versions & 1 rubygems