json.type "FeatureCollection" json.features(@notes) do |note| json.ingest! render(:partial => "note", :object => note) end