Sha256: 3522da057223f96b8ec8f8d319115aa6081a7f6715b8529b15852345bfb67763
Contents?: true
Size: 426 Bytes
Versions: 43
Compression:
Stored size: 426 Bytes
Contents
module ActiveRecord::Associations::Builder class HasMany < CollectionAssociation #:nodoc: def macro :has_many end def valid_options super + [:primary_key, :dependent, :as, :through, :source, :source_type, :inverse_of, :counter_cache, :join_table] end def self.valid_dependent_options [:destroy, :delete_all, :nullify, :restrict_with_error, :restrict_with_exception] end end end
Version data entries
43 entries across 43 versions & 2 rubygems