Sha256: 65045aca1b8d970d2ef8820699d1459f2ad4e887296d10f543ff7290794a7151

Contents?: true

Size: 235 Bytes

Versions: 6

Compression:

Stored size: 235 Bytes

Contents

module ActiveRecord::Associations::Builder
  class HasManyForActiveModel < HasMany
    def valid_options
      super + [:active_model, :target_ids] - [:through, :dependent, :source, :source_type, :counter_cache, :as]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
activemodel-associations-0.1.2 lib/active_record/associations/builder/has_many_for_active_model.rb
activemodel-associations-0.1.1 lib/active_record/associations/builder/has_many_for_active_model.rb
activemodel-associations-0.1.0 lib/active_record/associations/builder/has_many_for_active_model.rb
activemodel-associations-0.0.3 lib/active_record/associations/builder/has_many_for_active_model.rb
activemodel-associations-0.0.2 lib/active_record/associations/builder/has_many_for_active_model.rb
activemodel-associations-0.0.1 lib/active_record/associations/builder/has_many_for_active_model.rb