Should be ```.path```, not ```.to_s```