rails/rails — pull request #10556 by Empact (2013-05-10 14:59:23+00:00)
Title: Deprecate SchemaStatements#distinct, and make SchemaStatements#columns_for_distinct nodoc.

#distinct was previously used by #construct_limited_ids_condition, but
no more after #6792. #columns_for_distinct is just a utility method for
#construct_limited_ids_condition and shouldn't be public.