Using multiple controllers within the same page

I have a page that I want to use data from several tables. I wanted to
split these into their own div’s but I do not know how to access the
different part’s controllers. There are seperrate controllers because I
developed the parts seperately.

Has anyone done this?

Thanks!

Look at render_component on api.rubyonrails.com or you could make
partials
of the tables and render them accordingly.

Roland

Render_component should be avoided. We are being encouraged to use
partials
and helpers.

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