Sha256: 272804c583bb75f60795a0b4c59eb35fe15006d4bd817de82aebfb384646d7a1
Contents?: true
Size: 419 Bytes
Versions: 30
Compression:
Stored size: 419 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] end def valid_dependent_options [:destroy, :delete_all, :nullify, :restrict, :restrict_with_error, :restrict_with_exception] end end end
Version data entries
30 entries across 30 versions & 2 rubygems