1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00

Don't cache build class

This commit is contained in:
Joshua Clayton 2011-11-18 08:42:05 -05:00
parent 463028d82e
commit 845a76a595

View file

@ -26,7 +26,7 @@ module FactoryGirl
end
def build_class #:nodoc:
@build_class ||= class_name.to_s.camelize.constantize
class_name.to_s.camelize.constantize
end
def default_strategy #:nodoc: