Fit project on rails 4 with devise, etc