yep u can

index.js.erb

and in it, render your response

buts its worse idea, return json, and build dom 


Ivan Nastyukhin
[email protected]






On Jun 3, 2010, at 5:05 PM, Gregory Mar wrote:

> Hi,
> I am working on a mobile device dev using javascript and I use a remote
> Rails app for the backend.
> I query the backend using Ajax, and I would like to know if from my
> controller I can return a partial in response to the ajax request?
> 
> Greg
> -- 
> 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.
> 

-- 
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