Skip to content

2204 regression with db authenticatable#2205

Merged
josevalim merged 2 commits into
heartcombo:masterfrom
latortuga:2204-regression-with-db-authenticatable
Jan 9, 2013
Merged

2204 regression with db authenticatable#2205
josevalim merged 2 commits into
heartcombo:masterfrom
latortuga:2204-regression-with-db-authenticatable

Conversation

@latortuga

Copy link
Copy Markdown
Contributor

This fixes Issue #2204 which is a regression introduced in PR #2135. Devise should not fail due to unchanged configuration when upgrading a point release, at least not without some kind of warning or wiki explanation.

For a point release upgrade, Devise should not throw an exception when trying
to downcase or strip globally configured keys. This would be a breaking
change in functionality and this test demonstrates the issue.
This avoids calling strip and downcase on globally configured keys that may
not exist on all devise models. Fixes heartcombo#2204, a regression introduced by
PR heartcombo#2135. Also included a note about the intentional use of respond_to.
@josevalim

Copy link
Copy Markdown
Contributor

❤️ 💚 💙 💛 💜

josevalim pushed a commit that referenced this pull request Jan 9, 2013
…nticatable

2204 regression with db authenticatable
@josevalim josevalim merged commit b6a7d11 into heartcombo:master Jan 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants