Trying to fix an issue with my rails project