The problem was that form_for isn't rendering an authenticity token
hidden input.  I assumed it would....

On Jul 30, 12:33 pm, cbeck <[email protected]> wrote:
> This started happening when I went to fix another problem, where a
> filtering drop down (which submits a form on change) was not taking on
> the selected value when the page refreshed.
>
> Server logs indicated that it may be a session key issue.  I realized
> that I hadn't defined a secret key for the app yet, so I did that and
> cleared cookies in all my browsers.    No workey, I still got the same
> error message every time.
>
> Then, in safari, I clicked around on some other pages, came back to my
> page with the drop down filters and tried again...No problem!
>
> Then, in firefox, I did the same, and the issue came back.
>
> WTF?
>
> Is it possible my browsers aren't getting detached from their old
> sessions even though I'm clearing cache and cookies?  I have a high
> degree of general ignorance around rails session management, because
> its never been an issue until this application.
>
> ActionController::InvalidAuthenticityToken
> (ActionController::InvalidAuthenticityToken):
>  haml (2.2.2) lib/sass/plugin/rails.rb:19:in `process'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to