Allow rails 4.