master
 1json.cache! items do
 2  json.array! items do |tutorial|
 3    json.id tutorial.id
 4    json.heading tutorial.heading
 5    json.description tutorial.description
 6    json.url tutorial.url
 7    json.image_url tutorial.image_url
 8    json.author tutorial.author
 9    json.author_url tutorial.author_url
10    json.created_at tutorial.created_at
11    json.updated_at tutorial.updated_at
12    json.tags tutorial.tags do |tag|
13      json.name tag.name
14    end
15  end
16end