[RAILS] Load enviroment before working with model