method

any?

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: CollectionAssociation
any?() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/associations/collection_association.rb, line 268
      def any?
        if block_given?
          load_target.any? { |*block_args| yield(*block_args) }
        else
          !empty?
        end
      end
Register or log in to add new notes.