Skip to content

Instantly share code, notes, and snippets.

@stevencwarren
Created March 27, 2013 16:06
Show Gist options
  • Save stevencwarren/5255444 to your computer and use it in GitHub Desktop.
Save stevencwarren/5255444 to your computer and use it in GitHub Desktop.
App.Project = DS.Model.extend(
title: DS.attr("string", defaultValue: 'Please enter a title')
created_at: DS.attr('date')
updated_at: DS.attr('date')
status: DS.attr('string')
cover_image_url: DS.attr('string', defaultValue: '')
cover_image_thumb_url: DS.attr('string', defaultValue: '')
cover_image_show_url: DS.attr('string', defaultValue: '')
owner: DS.belongsTo('App.User')
description: DS.attr('string')
intended_audience: DS.attr('string')
language: DS.attr('string')
cover_image_filepicker_url: DS.attr('string')
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment