0
所以我点击提交Carrierwave附件时出现此错误。CarrierWave文件上传错误
enter code here
undefined local variable or method `charle' for #<#<Class:0x25134a0>:0x2512668>
10: <%= @charle.name %>
11: </p>
12: <div class="field">
13: <%= image_tag charle.image_url.to_s %>
14: </div>
15:
16: <%= link_to 'Edit', edit_charle_path(@charle) %> |
app/views/charles/show.html.erb:13:in `_app_views_charles_show_html_erb__1019061838_19434530_0'
app/controllers/charles_controller.rb:18:in `show'
工作!谢谢。我想知道什么是错的。 – conpill
不要忘记标记我的答案为“接受”。 –