Support activerecord-2.3.15