开发者

Rails 3 beta 1 - Nested layouts - LocalJumpError

开发者 https://www.devze.com 2022-12-25 03:56 出处:网络
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 %>.

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.开发者_Go百科 Problem fixed.


Upgrade to beta 2

0

精彩评论

暂无评论...
验证码 换一张
取 消