开发者

Rails 3 beta 1 - Nested layouts - LocalJumpError

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜