I'm sorry if this seems more simplified, but I wonder what the general thing is in how to organize the model code.
Association declarations, if you think that certain types of associations should be declared before others, accepts_nested_resource declarations, checks, user checks, protected and private methods, module inclusion, anything and everything.
I have heard of strange goths that can occur with the ordering of various callbacks and associations, but I have never seen them all documented anywhere.
Obviously, there will be some controversy, and there probably isn't a true way, but this can be expected. I am very curious to find out how other people organize their code. Thank.
source
share