- 博客(7)
- 收藏
- 关注
原创 rails命名约定
Model Naming: Table line_items File app/models/line_item.rb Class LineItem Controller Naming: URL http://../store/list File app/controllers/store_controller.rb Class S
2016-03-31 10:59:08 505
转载 (Rails) : NoMethodError: undefined method cost' for BCrypt::Engine:Class
gem 'bcrypt-ruby', '3.1.2'
2016-03-30 09:12:14 1549
原创 form_for的关系
controller: def edit @order = Order.find(...) end model object: @order.name->"Dave" #(@order in controller @order) #(:name in model @order.name)
2016-03-24 20:19:25 1160
转载 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 1257
转载 rails 限制上传图片大小出现 Errno::ENOENT in MicropostsController#create 错误
Whenever I place the code process resize_to_limit: [400, 400] (My application works just fine without the above code.) I get the error: Errno::ENOENT in MicropostsController#create No such fi
2016-03-09 10:41:44 727
转载 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 514
原创 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 408
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人