Rails : Refactoring principles

the Law of Demeter:

Now you have some models, and you have view code that looks like the following:

Continue reading