Created
June 2, 2016 03:12
-
-
Save adamkirkwood/1f42fdfde8db50376886245a491de7bd to your computer and use it in GitHub Desktop.
Simple structure to structure Rails Models (https://www.zmwolski.com/Organizing-Ruby-on-Rails-Models)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'.source.ruby': | |
'Model class structure': | |
'prefix': '#==' | |
'body': ''' | |
# == Constants ============================================================ | |
# == Attributes =========================================================== | |
# == Extensions =========================================================== | |
# == Relationships ======================================================== | |
# == Validations ========================================================== | |
# == Scopes =============================================================== | |
# == Callbacks ============================================================ | |
# == Class Methods ======================================================== | |
# == Instance Methods ===================================================== | |
''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment