After upgrade to 3 from 1 layout method doesn't render anything

I’m upgrading to Rails 3 from version 1. It has gone incredibly
smooth. Thanks Rails Core!

I am not working with a restful app, not even close. RESTfully,
everything works as expected.

Nothing renders when I call layout ‘main’, unless I render on a per
action basis with render :layout => ‘main’.

This is a lot of duplication, not to mention the double render

Is there any advice, other than rewrite this app the RESTful way?



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