Adds outer_joins to ActiveRecord