Sha256: cd1bd1d185c5915558a708575e862242a9c53b3fd97635d9b07dde76da007084

Contents?: true

Size: 252 Bytes

Versions: 10

Compression:

Stored size: 252 Bytes

Contents

module ActiveData
  module Model
    module Associations
      module Collection
        class Embedded < Proxy
          delegate :build, :create, :create!, to: :@association
          alias_method :new, :build
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
active_data-1.2.0 lib/active_data/model/associations/collection/embedded.rb
active_data-1.1.7 lib/active_data/model/associations/collection/embedded.rb
active_data-1.1.6 lib/active_data/model/associations/collection/embedded.rb
active_data-1.1.5 lib/active_data/model/associations/collection/embedded.rb
active_data-1.1.4 lib/active_data/model/associations/collection/embedded.rb
active_data-1.1.3 lib/active_data/model/associations/collection/embedded.rb
active_data-1.1.2 lib/active_data/model/associations/collection/embedded.rb
active_data-1.1.1 lib/active_data/model/associations/collection/embedded.rb
active_data-1.1.0 lib/active_data/model/associations/collection/embedded.rb
active_data-1.0.0 lib/active_data/model/associations/collection/embedded.rb