Allow rails v4.x