小编mow*_*one的帖子

没有将nil隐式转换为String

目前我正在尝试在Ruby on Rails中设置一个简单的应用程序.我已经迁移了db,播种了它,现在我遇到了以下错误.

no implicit conversion of nil into String

Extracted source (around line #4):

1: <!--[if lt IE 9]>
2: <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
3: <![endif]-->
4: <%= stylesheet_link_tag 'blueprint/screen', :media => 'screen' %>
5: <%= stylesheet_link_tag 'blueprint/print',  :media => 'print' %>
6: <%= stylesheet_link_tag 'custom', :media => 'screen' %>
Run Code Online (Sandbox Code Playgroud)

似乎资产标签助手不能正常工作或返回零(如果可能的话)?

css ruby-on-rails stylesheet-link-tag

12
推荐指数
1
解决办法
5233
查看次数

标签 统计

css ×1

ruby-on-rails ×1

stylesheet-link-tag ×1