- 博客(7)
- 收藏
- 关注
原创 rails命名约定
Model Naming:Table line_itemsFile app/models/line_item.rbClass LineItemController Naming:URL http://../store/listFile app/controllers/store_controller.rbClass S
2016-03-31 10:59:08 493
转载 (Rails) : NoMethodError: undefined method cost' for BCrypt::Engine:Class
gem 'bcrypt-ruby', '3.1.2'
2016-03-30 09:12:14 1536
原创 form_for的关系
controller:def edit@order = Order.find(...)endmodel object:@order.name->"Dave" #(@order in controller @order) #(:name in model @order.name)
2016-03-24 20:19:25 1134
转载 couldn't find file 'jquery.ui.effect-blind' with type 'application/javascript'
I think you are using new version (your version > 2.3.0) of jquery-rails.jQuery UI has been removed from jquery-rails gem, ≤ jquery-rails v2.3.0 still have jQuery UI ≥ jquery-rails v3.0.0 jQue
2016-03-24 16:50:49 1244
转载 rails 限制上传图片大小出现 Errno::ENOENT in MicropostsController#create 错误
Whenever I place the codeprocess resize_to_limit: [400, 400](My application works just fine without the above code.)I get the error:Errno::ENOENT in MicropostsController#createNo such fi
2016-03-09 10:41:44 723
转载 CarrierWave使用时fog错误
1:Add this to your Gemfile:gem 'net-ssh'and run bundle install after that.2:(正确)Alternatively, add this to your Gemfile:gem 'fog', '~> 1.36.0'and run bundle install. This wor
2016-03-09 09:19:05 504
原创 CarrierWave使用时fog错误
1:Add this to your Gemfile:gem 'net-ssh'and run bundle install after that.2:(正确)Alternatively, add this to your Gemfile:gem 'fog', '~> 1.36.0'and run bundle install. This worke
2016-03-09 09:12:47 397
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人