Skip to content

Commit

Permalink
Don't cache build class
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaclayton committed Nov 18, 2011
1 parent 463028d commit 845a76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/factory_girl/factory.rb
Expand Up @@ -26,7 +26,7 @@ def factory_name
end

def build_class #:nodoc:
@build_class ||= class_name.to_s.camelize.constantize
class_name.to_s.camelize.constantize
end

def default_strategy #:nodoc:
Expand Down

0 comments on commit 845a76a

Please sign in to comment.