json.extract! @post, :id, :title, :body, :author, :created_at, :updated_at