More Rails 3.2 compat.