Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
jason
@tanjianna
高级会员
第 3609 位会员 / 2012-09-11

[email protected]
6 篇帖子 / 14 条回帖
0 关注者
0 正在关注
0 收藏
未设置 GitHub 信息。
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 如何建立 rails 的后台管理系统 cpanel rails g controller 这个命令如何带目录啊? at 2012年09月28日

    #1 楼 @huacnlee 然后路径如何访问?http://192.168.33.10:3000/cpanel/posts??

  • 有没有同学用过 ActiveAdmin 这个 Gem? at 2012年09月27日

    rails_admin 定制业务逻辑 比较麻烦了!

  • Mongoid 怎样做关联查询? at 2012年09月25日

    #19 楼 @suxu 查询 devices 数据

  • Mongoid 怎样做关联查询? at 2012年09月24日

    #16 楼 @suxu 围观 学习了!如果我用 devices 的 created_at 来排序!我该如何做?

  • rails 如何导入远程静态 html? at 2012年09月21日

    #10 楼 @tanjianna .force_encoding("GBK").encode("utf-8", replace: nil)

  • rails 如何导入远程静态 html? at 2012年09月20日

    #9 楼 @Rei incompatible character encodings: UTF-8 and ASCII-8BIT 编码问题又来了!真郁闷!

  • rails 如何导入远程静态 html? at 2012年09月20日

    #6 楼 @Rei 第一次也太慢了!有其他方案吗?

  • rails 如何导入远程静态 html? at 2012年09月20日

    #3 楼 @Rei 用 open-uri 超级的慢 即使用缓存也有问题啊 第一次访问不是慢死了?

  • rails 如何导入远程静态 html? at 2012年09月20日

    #3 楼 @Rei 有 Demo 吗?片段缓存包裹一个 open-uri!能贴出来 详细些不?我是新手!先谢谢

  • rails 如何导入远程静态 html? at 2012年09月20日

    iframe 不好用!不便于 SEO

  • rails_admin 我想禁止编辑,新增 或者 导出数据,我该怎么配置? at 2012年09月13日

    rails_admin.rb 这个文件配置就行!
    RailsAdmin.config do |config| config.actions do # root actions dashboard # mandatory # collection actions index # mandatory new #export #history_index bulk_delete # member actions show edit delete #history_show show_in_app end end

  • devise 做后台 禁止注册模块 at 2012年09月11日

    #2 楼 @ywencn 谢谢 ywencn 果然 把 registerable 去掉就可以了 非常感谢

  • devise 做后台 禁止注册模块 at 2012年09月11日

    谢谢 ywencn 果然 把 registerable 去掉就可以了 非常感谢,那我想禁止 user 的增和修改呢?在那里配置?

关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English