Skip to content

Instantly share code, notes, and snippets.

@swalkinshaw
Created April 1, 2015 15:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save swalkinshaw/10cdb92539e75717b728 to your computer and use it in GitHub Desktop.
class Model < ActiveRecord::Base
enum status: {
cancelled: 'cancelled',
delayed: 'delayed',
final: 'final',
suspended: 'suspended'
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment