Thanks for the comments guys. If there is not wasy way to bounce to another controller/action then there should be. Its available via redirect_to, and one can render the partials of another controllers actions, but it seems one cant quite just get the action code to execute.
My usage case is this: I am writing a web based simple text chat app. People submit comments, calling the AddComment action, which updates the conversation, and renders the comment to the people having the conversations. I want to build in some predefined keywords that will get recognised in the AddComment action, but will call another controller. Eg I have a documents controller with a AttachDoc action which gets called normally when the user clicks on the right button. I now want to allow doc attachment from the commandline - So when someone types 'AttachDoc' as a comment, controll should jump to the documentscontroller. Redirect_to will do the job, but with a unnecessary trip back to the user. Still reading? thanks! Any suggestion? -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.