Has anyone seen a solution for nested layouts that works with Rails 3?
I’ve tried several previously documented patterns, including
but keep getting
no block given
thanks
Has anyone seen a solution for nested layouts that works with Rails 3?
I’ve tried several previously documented patterns, including
but keep getting
no block given
thanks
Same problem.
I tried this example from Rails Guide (it’s been copied to Rails 3
version on http://guides.rails.info/) on a blank project both with
ruby 1.9.1 and 1.8.7. Always the LocalJumpError - no block given.
Actually I’m surprised I can’t find any published workaround. That’s
not some subtle obscure little bug. Nobody’s using nested layouts?
I posted this question on stackoverflow. Still no suggestions.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs