Skip to content

Instantly share code, notes, and snippets.

@prcaen
Last active December 14, 2015 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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