Fix the ref to Rails