New to Rails... here goes:
If I want my 'create' method to respond differently to an AJAX request than to a normal POST request, can I have the method detect which was used?
Or, is it better to use different methods for AJAX and non-AJAX requests?
Thanks for your input.