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