Now requires ActiveRecord >= 3.0.