method

find_from_target?

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: CollectionAssociation
find_from_target?() 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 298
      def find_from_target?
        loaded? ||
          owner.strict_loading? ||
          reflection.strict_loading? ||
          owner.new_record? ||
          target.any? { |record| record.new_record? || record.changed? }
      end
Register or log in to add new notes.