Permalink
Browse files

Don't cache build class

  • Loading branch information...
1 parent 463028d commit 845a76a59522b116065203e167be66ae771fb73a @joshuaclayton joshuaclayton committed Nov 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/factory_girl/factory.rb
@@ -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:

0 comments on commit 845a76a

Please sign in to comment.