Frederick Cheung wrote:
> You could look at the Accept header sent by the browser - in the
> Ajax.Request case it should be something like application/javascript

request.env['HTTP_ACCEPT'] has the same value for a normal GET, 
AjaxUpdater or AjaxRequest..

Any other suggestions?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to