lib/granite/form/model/associations/collection/proxy.rb in granite-form-0.2.0 vs lib/granite/form/model/associations/collection/proxy.rb in granite-form-0.3.0

- old
+ new

@@ -4,10 +4,10 @@ module Associations module Collection class Proxy include Enumerable - delegate :target, :save, :save!, :loaded?, :reload, :clear, :concat, to: :@association + delegate :target, :loaded?, :reload, :clear, :concat, to: :@association delegate :each, :size, :length, :first, :last, :empty?, :many?, :==, :dup, to: :target alias_method :<<, :concat alias_method :push, :concat def initialize(association)