Re : Using multiple controllers within the same page

You can do this with AJAX :

in application_helper.rb

def into_div options={}
""
end

Then, in the view you want to show some view of another controller :

<%= into_div :update=> :my_div,:url=>{:controller=>'controller_x',:action=>:abc %>

maybe I misunderstood your question, anyway…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs