Hello. My question is about the methods mentioned in the subject.

- [fact] Rails mixes in *any?* and *none?* from Enumerable.

- [fact] Rails overrides *any? *to use nice feature of testing with COUNT 
query. 
https://github.com/rails/rails/blob/a419a4d9ade48e777166ff956dd7bb24e37b2181/activerecord/lib/active_record/relation.rb#L262-L271

- [problem] Rails does not override *none? *method, instead it relies on 
*empty?.*

Why not alias *none? *to *empty?*

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to