plataformatec/devise — pull request #2135 by latortuga (2012-11-07 22:57:02+00:00)
Title: Make validatable callbacks affect virtual attributes

This is a fix for #2129. It changes downcase_keys and strip_whitespace to affect virtual attributes. These two methods are used as callbacks when validatable is included. Failing test provided.