This is a combination of 3 commits.
correcting the back button on the form atendimentos

Refactoring on Types_Controller

It has been used "Extract Method Strategy" like CodeClimate says

Refactor on Places Controller in order to obtain a better grade on CodeClimate

Refactoring in order to obtain a better grade on CodeClimate

Refactoring in order to obtain a better grade on CodeClimate
Refactor in order to get a better grade on Code Climate