ActiveRecord 4.0 support