Last active
December 21, 2015 20:29
-
-
Save bdthinh/6361792 to your computer and use it in GitHub Desktop.
Rails 3.2 Development Standards Guide
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 MyModel < ActiveRecord::Base | |
# extends ................................................................... | |
# includes .................................................................. | |
# security (i.e. attr_accessible) ........................................... | |
# relationships ............................................................. | |
# validations ............................................................... | |
# callbacks ................................................................. | |
# scopes .................................................................... | |
# additional config ......................................................... | |
# class methods ............................................................. | |
# public instance methods ................................................... | |
# protected instance methods ................................................ | |
# private instance methods .................................................. | |
end | |
###controller | |
#implement param first |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment