Rails 3 beta 1 - Nested layouts - LocalJumpError
Posted
by Art Shayderov
on Stack Overflow
See other posts from Stack Overflow
or by Art Shayderov
Published on 2010-04-01T19:05:07Z
Indexed on
2010/04/03
19:03 UTC
Read the original article
Hit count: 259
ruby-on-rails
Hi
Nested layouts do not work in Rails 3. After I hit this I tried Rails Guides Example on a blank project (both ruby 1.9.1 and 1.8.7). LocalJumpError no block given on line <%= yield :stylesheets %>. If you remove this line you will get the same error on the next yield statement.
Could someone fix(patch) this? It's probably just a matter of calling block_given? in the right place. That would be great. Thanks
Added on 4/3: Rails 3 beta 2 released. Problem fixed.
© Stack Overflow or respective owner