Fixed another rails 4 incompatibility.