Hello, I'm sorry if this seems over simplified but I'm wondering quite specifically what the general consensus is on how model code should be organized.
Association declarations, if you think certain association types should be declared before others, accepts_nested_resource declarations, validations, custom validations, protected and private methods, module inclusions, everything and anything.
I've heard of weird gothcas that can occur with the ordering of different model callbacks and associations but have never seen them all really documented anywhere.
Obviously there will be some disagreement and there is probably not one true way but that's to be expected. I'm very curious to hear how other people organize their code. Thanks.