class App.Models.Task extends Brainstem.Model brainstemKey: "tasks" paramRoot: 'task' url: '/api/tasks.json' @associations: project: "projects" assignees: ["users"] sub_tasks: ["tasks"] parent: "tasks" class App.Collections.Tasks extends Brainstem.Collection model: App.Models.Task url: '/api/tasks.json'