Rails Error

SQLite3 table xxx already exists

修改 20160213082813_create_variants.rb 在create_table前一行加入
drop_table :variants

syntax error, unexpected ')', expecting keyword_end ...lass="form-control input-sm") );@output_buffer.safe_append=' ... ^

出错代码:
<%= text_field_tag(:q,params[:q], placeholder: "商品名称", class="form-control input-sm") %>
应该改为:
class: "form-control input-sm"

uninitialized constant ProfileController

posted @ 2016-02-13 16:58  never_ever  阅读(159)  评论(0)    收藏  举报