Skip to content

Instantly share code, notes, and snippets.

@nuxlli
Created August 20, 2008 01:08
Show Gist options
  • Save nuxlli/6265 to your computer and use it in GitHub Desktop.
Save nuxlli/6265 to your computer and use it in GitHub Desktop.
create_table :products do |t|
t.column :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