diff --git a/lib/factory_girl/proxy/attributes_for.rb b/lib/factory_girl/proxy/attributes_for.rb index 5660a34..ae14f0c 100644 --- a/lib/factory_girl/proxy/attributes_for.rb +++ b/lib/factory_girl/proxy/attributes_for.rb @@ -4,7 +4,6 @@ module FactoryGirl def initialize(klass, callbacks = []) super @hash = {} - @ignored_attributes = {} end def get(attribute) diff --git a/lib/factory_girl/proxy/stub.rb b/lib/factory_girl/proxy/stub.rb index f875113..a557f79 100644 --- a/lib/factory_girl/proxy/stub.rb +++ b/lib/factory_girl/proxy/stub.rb @@ -6,7 +6,6 @@ module FactoryGirl def initialize(klass, callbacks = []) super @instance = klass.new - @ignored_attributes = {} @instance.id = next_id @instance.instance_eval do def persisted?