Permalink
Browse files

Remove extra @ignored_attributes assignments in subclasses of Proxy

  • Loading branch information...
1 parent 3803be3 commit 68e8e9ea6f93d45729bd4ee720f6dc1c78245739 @joshuaclayton joshuaclayton committed Nov 2, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −1 lib/factory_girl/proxy/attributes_for.rb
  2. +0 −1 lib/factory_girl/proxy/stub.rb
View
1 lib/factory_girl/proxy/attributes_for.rb
@@ -4,7 +4,6 @@ class AttributesFor < Proxy #:nodoc:
def initialize(klass, callbacks = [])
super
@hash = {}
- @ignored_attributes = {}
end
def get(attribute)
View
1 lib/factory_girl/proxy/stub.rb
@@ -6,7 +6,6 @@ class Stub < Proxy #:nodoc:
def initialize(klass, callbacks = [])
super
@instance = klass.new
- @ignored_attributes = {}
@instance.id = next_id
@instance.instance_eval do
def persisted?

0 comments on commit 68e8e9e

Please sign in to comment.