APIdock / Ruby on Rails
/
Browse About
method

collection?

v8.0.0 - Show latest stable - Class: ActiveRecord::Associations::CollectionAssociation
collection?()
public

No documentation available.

# File activerecord/lib/active_record/associations/collection_association.rb, line 316
      def collection?
        true
      end

Related methods

  • Instance methods
  • add_to_target
  • build
  • collection?
  • concat
  • delete
  • delete_all
  • destroy
  • destroy_all
  • empty?
  • find
  • find_from_target?
  • ids_reader
  • ids_writer
  • include?
  • load_target
  • null_scope?
  • reader
  • replace
  • reset
  • scope
  • size
  • target=
  • writer
  • Private methods
  • private_create_record
  • privatecallback
  • privatecallbacks_for
  • privateconcat_records
  • privatedelete_or_destroy
  • privatedelete_records
  • privatefind_by_scan
  • privateinclude_in_memory?
  • privateinsert_record
  • privatemerge_target_lists
  • privateremove_records
  • privatereplace_common_records_in_memory
  • privatereplace_on_target
  • privatereplace_records
  • privatetransaction
APIdock API Documentation Browser

Improve developer experience using DX Core 4 metrics in Swarmia.

© 2026 APIdock