Andres
2008-May-22 17:02 UTC
conceptual help needed for controllers that work with ajax requests
Hi, got a problem, I have a polymorphic object, "phone" that is created via remote (ajax), then refreshes the client_phones div id, But what if I need to call Phone.create from different models, and refresh e.g. the user_phones div id How do you handle rendering partials that need data generated from a controller different than the one calling the template? Thanks, --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---