Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "Don't cache build class"
This reverts commit 845a76a.
  • Loading branch information
joshuaclayton committed Jan 8, 2012
1 parent 1c7eab1 commit a022dda
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:
class_name.to_s.camelize.constantize
@build_class ||= class_name.to_s.camelize.constantize
end

def default_strategy #:nodoc:
Expand Down

0 comments on commit a022dda

Please sign in to comment.