Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
孙韬
@marssun
Member
NO. 7881 / 2013-07-02

[email protected]
3 Topics / 2 Replies
0 Followers
0 Following
1 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 屌丝版的 annotate at April 03, 2015

    #1 楼 @mingyuan0715 有些类跟系统业务相关性差得太多,写在 models 里又不太合适。。。

  • 如何扩展 production.rb 中的配置项 at October 28, 2014

    #1 楼 @huacnlee 这样。。。。 :plus1: 我也找到一种方式

    module ActionController
      class Base < Metal
        config_accessor :asset_host1, :asset_host2
      end
    end
    

    那在 javascript_include_tag 这种方法中会选择数组中的哪一个呢?

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