Skip to content

Instantly share code, notes, and snippets.

@hutusi
Created October 7, 2019 06:55
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 hutusi/3cf8021bb19c42688f4ac7b2878e7588 to your computer and use it in GitHub Desktop.
Save hutusi/3cf8021bb19c42688f4ac7b2878e7588 to your computer and use it in GitHub Desktop.
Organizing-Ruby-on-Rails-Models
class User < ActiveRecord::Base
# == Constants ============================================================
# == Attributes ===========================================================
# == Extensions ===========================================================
# == Relationships ========================================================
# == Validations ==========================================================
# == Scopes ===============================================================
# == Callbacks ============================================================
# == Class Methods ========================================================
# == Instance Methods =====================================================
end
@hutusi
Copy link
Author

hutusi commented Oct 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment