Skip to content

Instantly share code, notes, and snippets.

@lukelex
Created September 19, 2012 19:04
Show Gist options
  • Select an option

  • Save lukelex/3751549 to your computer and use it in GitHub Desktop.

Select an option

Save lukelex/3751549 to your computer and use it in GitHub Desktop.
config.model Phase do
# Found associations:
configure :_type, :text # Hidden
configure :_id, :bson_object_id
configure :created_at, :datetime
configure :updated_at, :datetime
list do
field :name
field :number
field :active
end
export do; end
show do; end
edit do; end
create do
field :name
field :active
end
update do; end
end
@brunocoelho

Copy link
Copy Markdown

Good job! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment