I am learning rails and encountered the respond_to for a javascript response, and was wondering if there is a way to inline it within the actual respond_to block as opposde to cluttering up my project directory with rjs files that only have one line of code. Is there a way to execute javascript insde the respond_to block rather than returning an rjs file?
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

