Re: Train wreck getting render_to_string to work from foreign controller [SOLVED]

Just for collective knowledge as I have found no info on this problem

I solved this by adding an .html.erb file for the “missing template”,
by design or bug Rails3 will not find or render another controllers view
my experience). Then in the new html.erb file, I just put <%= render
“comparisons/display” %> because the views are able to find templates
another controller.

It seems like this is more work, but I can see that perhaps this was
done by
design as it forces me to more cleanly define what the controller

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