Don't cache variable otherwise reloading in development is busted.

This commit is contained in:
José Valim
2011-03-02 00:16:09 -08:00
parent d445db9e5e
commit fe2d7b5ffe

View File

@@ -72,7 +72,7 @@ module Devise
# Gives the class the mapping points to.
def to
@to ||= ActiveSupport::Inflector.constantize(@class_name)
ActiveSupport::Inflector.constantize(@class_name)
end
def strategies