Created
March 16, 2012 01:21
-
-
Save unsay/2048048 to your computer and use it in GitHub Desktop.
ActiveRecord Organization
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
class ClassName < ActiveRecord::Base | |
#-- | |
# constants | |
#++ | |
#-- | |
# requires | |
#++ | |
#-- | |
# includes | |
#++ | |
#-- | |
# attr | |
#++ | |
#-- | |
# extra capabilities | |
#++ | |
#-- | |
# belongs_to | |
#++ | |
#-- | |
# has_one | |
#++ | |
#-- | |
# has_many | |
#++ | |
#-- | |
# accepts_nested_attributes_for | |
#++ | |
#-- | |
# validations | |
#++ | |
#-- | |
# callbacks | |
#++ | |
#-- | |
# scopes | |
#++ | |
#-- | |
# other definition such as alias_method | |
#++ | |
#-- | |
# public class methods | |
#++ | |
#-- | |
# public instance methods | |
#++ | |
private | |
#-- | |
# private class methods | |
#++ | |
#-- | |
# private instance methods | |
#++ | |
protected | |
#-- | |
# protected class methods | |
#++ | |
#-- | |
# protected instance methods | |
#++ | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment