`
fireflyman
  • 浏览: 113168 次
  • 性别: Icon_minigender_1
  • 来自: 火星
社区版块
存档分类
最新评论
收藏列表
标题 标签 描述
Rails Best Practices | DRY bundler in capistrano rails-practices
Rails Best Practices | Use asset_host for production server rails-practices
Rails Best Practices | model.collection_model_ids (many-to-many) rails-practices What we do is changing the name of checkbox from "role_id[]" to "user[role_ids][]", so the role_ids will be automatically assigned to the user model. Please note that there is a hidden_field_tag 'user[role_ids][]', its value is empty, which promises that
Rails Best Practices | Not use default route if you use RESTful design rails-practices
Rails Best Practices | Move finder to named_scope rails-practices
Global site tag (gtag.js) - Google Analytics