Fixed Rails reference