rails version change -> declaration change