Skip to content

Instantly share code, notes, and snippets.

@nuxlli
Created August 20, 2008 00:31
Show Gist options
  • Save nuxlli/6260 to your computer and use it in GitHub Desktop.
Save nuxlli/6260 to your computer and use it in GitHub Desktop.
create_table :products, :force => true do |t|
...
t.enum :status, limit => [:actived, :paused, :pre_sale]
...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment