Sha256: 511a787596299cacc77e8452455dbb37f8ded391bd66b9c6187e79e97f0a20c5

Contents?: true

Size: 289 Bytes

Versions: 3

Compression:

Stored size: 289 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
granite-form-0.2.0 lib/granite/form/model/associations/collection/embedded.rb
granite-form-0.1.1 lib/granite/form/model/associations/collection/embedded.rb
granite-form-0.1.0 lib/granite/form/model/associations/collection/embedded.rb