[Rails] Handling InvalidAuthenticityToken from bots

2011-02-17 Thread paul
I'm using exception_notifier to get an email when a 500 error occurs in production. Lately I'm seeing a lot of nonsensical POSTs show up that cause an InvalidAuthenticityToken error. All the fields contain random characters. (For instance, search_title=BHQWTZpjGeb) Is there a way to detect them

Re: [Rails] Handling InvalidAuthenticityToken from bots

2011-02-17 Thread Bill Walton
HI Paul, On Thu, Feb 17, 2011 at 9:01 AM, paul p...@nines.org wrote: I'm using exception_notifier to get an email when a 500 error occurs in production. Lately I'm seeing a lot of nonsensical POSTs show up that cause an InvalidAuthenticityToken error. All the fields contain random characters.

Re: [Rails] Handling InvalidAuthenticityToken from bots

2011-02-17 Thread Paul
Actually, I already have rescue_action_in_public. That's how exception_notifier sends the email. But I just did a search and see a disturbing discussion: https://rails.lighthouseapp.com/projects/8994/tickets/5444-rescue_action_in_public-no-longer-works Anyway, it seems like