Rails Musings
The order of mentioning stuff in the model.rb files should be: =begin 1. reference to libraries 2. has many association 3. has many through association 4. belongs_to association 5. validations 6. call backs 7. custom validations 8. custom instance methods 9. custom class methods 10. all our private methods =end Oh and btw, =begin and =end mark the start and end of the comment :)