Hi,
I couldn't find a one word opposite for
MyModel.any?
So I thought #empty? could be added in ActiveRecord Quering module:
module ActiveRecord
module Querying
delegate :empty?, :to => :all
endend
What do you think?
Thanks
--
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 rubyonrails-core+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.