New to Rails ... here goes:
If I want my "create" method to respond differently to an AJAX request than a regular POST request, can I determine the method that was used?
Or, is it better to use different methods for AJAX and non-AJAX requests?
Thanks for your input.
a source
to share