Fix the rails tests so now it is possible to resolve it