Skip to content

Instantly share code, notes, and snippets.

@prcaen
Last active December 14, 2015 17:19
Show Gist options
  • Save prcaen/5121627 to your computer and use it in GitHub Desktop.
Save prcaen/5121627 to your computer and use it in GitHub Desktop.
Rails model kickstarter
class Model < ActiveRecord::Base
attr_accessible :value, :other_value
default_scope
# =================
# = RELATIONS =
# =================
# =================
# = CALLBACKS =
# =================
# =================
# = GEM HOOKS =
# =================
# =================
# = STATE MACHINE =
# =================
# =================
# = MEDIA =
# =================
# =================
# = ACTIVE ENUM =
# =================
# =================
# = FORMS =
# =================
# =================
# = VALIDATIONS =
# =================
# =================
# = METHODS =
# =================
# =================
# = OTHERS =
# =================
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment