method

empty?

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::HasManyAssociation
empty?() 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/has_many_association.rb, line 52
      def empty?
        if reflection.has_cached_counter?
          size.zero?
        else
          super
        end
      end
Register or log in to add new notes.