Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
ryan
@goodboyRyan
高级会员
第 1063 位会员 / 2012-02-16

[email protected]
北京
5 篇帖子 / 37 条回帖
0 关注者
0 正在关注
0 收藏
GitHub Public Repos
More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 《提问的智慧》 at 2015年03月06日

    赞 超级👍

  • [北京][2014年9月14日] 中秋后聚会召集 at 2014年09月10日

    +1

  • [上海] 奢圈招聘 Ruby 工程师 at 2014年09月01日
    <h1>这个</h1>
    
  • rails 直到网站挂掉才知道缓存多重要 at 2014年08月16日

    #9 楼 @linjunhalida 我现在越来越感觉 你说的太有道理啦

  • 敏感词过滤 at 2014年08月13日

    无限欢喜~~~~

  • rails 直到网站挂掉才知道缓存多重要 at 2014年08月09日

    #10 楼 @huacnlee 有点不太明白,加上缓存后确实大幅度提高访问效率,这是什么原因呢

  • rails 直到网站挂掉才知道缓存多重要 at 2014年08月09日

    #8 楼 @wym205 阿里云单核

  • rails 直到网站挂掉才知道缓存多重要 at 2014年08月07日

    #6 楼 @linjunhalida 有哪些问题呢?介绍几个

  • rails 直到网站挂掉才知道缓存多重要 at 2014年08月07日

    #1 楼 @ywencn 亲,进程怎么加;这应该是 rails 框架自动加的吧?

  • rails 直到网站挂掉才知道缓存多重要 at 2014年08月07日

    #3 楼 @steve 是的,动态请求

  • 从士兵到程序员再到 SOHO 程序员 (三) - 游击战与阻力 at 2014年04月08日

    我很快也会加入你们的行列。加油,兄弟

  • 准备入手阿里云,不知道一核 CPU 够不? at 2014年04月08日

    #24 楼 @QueXuQ 1M

  • [北京上地] starsworld.cn 招聘 ruby 程序员一个 (急招) at 2014年04月08日

    顶一下,马老大早日找到合适人选

  • 准备入手阿里云,不知道一核 CPU 够不? at 2014年03月31日

    最难受的是贷款,差丫,真心差,不稳定

  • 部署 rails 使用 Passenger Standalone 如何重启 at 2014年03月19日

    https://gist.github.com/davejamesmiller/2192550

    this may help

  • blog 更新:我如何把薪水从 50 人民币 / 天 提升到 100 美元 / 小时的 (3) at 2014年02月20日

    very gread,I admire your courage and ability

  • 纠结的中文乱码问题 at 2013年07月17日

    #4 楼 @sevk thanks;这个很不错,正在尝试

  • 纠结的中文乱码问题 at 2013年07月17日

    mac 转码 iconv -f gb2312 -t utf-8 ./public/uploads/lrc/lrc_path/279/1__.txt > public/uploads/lrc/lrc_path/279/11.txt

    我怎么用 ruby 转码?请指教

  • 纠结的中文乱码问题 at 2013年07月17日

    对,就是文件编码问题

  • 为什么我们国内的创新能力很弱? at 2013年05月13日

    归根结底,僧多粥少,中国的资源少,分配极其不合理,不容许你三心二意的去‘创新’,否则吃饭就成为问题;其次人心浮躁不能对一个目标持之以恒

  • ruby 模拟 http 请求 服务器端不能取得 header 的内容 at 2013年04月27日

    上面就是正确写法

  • ruby 模拟 http 请求 服务器端不能取得 header 的内容 at 2013年04月27日

    require "net/http" require "open-uri" require "uri"

    @agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31' data = {"m"=>"user", "a" =>"login", "release"=>"20110501", "appid"=>"3"};

    uri = URI.parse("http://localhost:8080/server/uc.php") http = Net::HTTP.new(uri.host, uri.port) request = Net::HTTP::Post.new(uri.request_uri) request.set_form_data(data) request.initialize_http_header({"USER-AGENT" => @agent})

    response = http.request(request) puts response.body

  • ruby 模拟 http 请求 服务器端不能取得 header 的内容 at 2013年04月27日

    #1 楼 @luikore 根据你的意思 搞定了 多谢

  • Devise 在 controller 里面创建一个用户 怎么使用户创建之后就登陆 at 2013年03月20日

    #2 楼 @wtuyuupe 嗯 好 试过了 能用,thanks

  • Devise 在 controller 里面创建一个用户 怎么使用户创建之后就登陆 at 2013年03月20日

    非常好, #1 楼 @huacnlee 不过跟我的问题点差异,thanks

  • rails 中使用 devise 的 lockable 问题 at 2013年01月30日

    http://www.tonyamoyal.com/2010/07/28/rails-authentication-with-devise-and-cancan-customizing-devise-controllers/

    http://blog.blazingcloud.net/2011/01/08/devise-authentication-in-rails-3/

    也许能帮你

  • [devise] To select a encryption which isn't bcrypt, you should use devise-encryptable gem. at 2012年12月17日

    在 gemfile 里面添加 gem devise-encryptable

  • bundle install therubyracer 失败,有人遇到吗? at 2012年12月13日

    首先安装 gem install libv8 然后安装 gem install therubyracer

    这样就不会出错啦

  • ubuntu12.04 装 passenger 的方法和以前不一样了吗? at 2012年12月05日

    $which passenger-install-nginx-module $/home/ryan/.rvm/gems/[email protected]/bin/passenger-install-nginx-module $rvmsudo ~/.rvm/gems/[email protected]/bin/passenger-install-nginx-module 重装之后发现命令还是不好用,用上面的解决我的问题 以下是参考链接 http://stackoverflow.com/questions/2225881/passenger-installation-with-nginx-fails http://stackoverflow.com/questions/2225881/passenger-installation-with-nginx-fails

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