Support Active Record <= 4.0.3, which uses the old method signature