Topic: Some reasons flash[:error] may not get reset???
I was doing well with Rails for a few days here and now I've hit a massive brick wall.
I'd post the code for this but I'm tweaking the Login_Sugar and trying to make that damn thing work the way you want it a bear. All the cryptic helpers make it really hard to provide example code.
Basically, I have an 'edit' user action and a 'change password' action.
I've split them out into two pages, but whatever I do, if I "submit" an empty change_password
form, my password validation errors carry over in BOTH forms until I log out. Any time I click on a link or go directly to the user/edit or user/change_password pages I get the two validation errors: Password too short & Password can't be blank.
I thought this was the point of "flash" was to last just for the next page.
I'm looking for some general reasons why this might be happening so I know where to start in debugging this sucker. Any info at all would be helpful.