Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
锦城客
@steven_yue
高级会员
第 2776 位会员 / 2012-07-06

5 篇帖子 / 104 条回帖
1 关注者
0 正在关注
11 收藏
GitHub Public Repos
  • sql_tracker 176

    Rails SQL Query Tracker

  • Simulink-Model-Parsing... 47

    read and write simulink model in python

  • grape-vs-martini 31

    Compare Ruby's Grape to Golang's Martini for Web API Server

  • base62-rb 24

    Fast Base62 encoding and decoding in Ruby

  • python_queue_benchmark 5

    Load testing various Python task queues

  • swagger-docs 1

    Generates swagger-ui json files for Rails APIs with a simple DSL.

  • http-parser-benchmark 1

    https://stevenyue.com/blogs/http-message-parsing-in-java-web-servers/

  • stimulus 0

    A modest JavaScript framework for the HTML you already have

  • turbo-site 0

    turbo.hotwired.dev web site

  • pydantic 0

    Data validation using Python type hints

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 想选择一个 JavaScript 框架真难 at 2013年06月29日

    angularjs 有前途

  • 各位用 Ruby 开发的大神们,以前都是用什么语言的 at 2013年06月28日

    @jsvisa 用 python 做什么的都有,用 ruby 基本都是做 web 开发的,相关的工具,还有库有很多。

  • 各位用 Ruby 开发的大神们,以前都是用什么语言的 at 2013年06月28日

    #22 楼 @jsvisa 其实用 Python 主要不是用做 web 开发,而是用一些科学计算的库。现在 web 开发,就主要用 Ruby

  • 各位用 Ruby 开发的大神们,以前都是用什么语言的 at 2013年06月28日

    vb -> C/C++ -> Java -> Python -> Ruby

  • 求用过 Devise + Omniauth 的同志们来看看,一定要把取回来的 OAuth 信息放到 session 里面然后导致 cookie 撑爆么? at 2013年06月27日

    #16 楼 @howiehu

    你得用 override devise 的 self.new_with_session(params, session) method, 它允许传入 session 的值。

    参考这里 https://github.com/plataformatec/devise/wiki/OmniAuth%3A-Overview

  • 求用过 Devise + Omniauth 的同志们来看看,一定要把取回来的 OAuth 信息放到 session 里面然后导致 cookie 撑爆么? at 2013年06月27日

    #14 楼 @howiehu 怎么叫存不进数据库?

  • 为什么投资人喜欢 Rails at 2013年06月27日

    rails 一个人也能做

  • 蝉游记网站的部署 Nginx,Unicorn,Capistrano,OOB,Graceful Restart at 2013年06月27日

    如果每个 app server 都是 Nginx+Unicorn 那你们是用 DNS 切换不同的 ip 地址来实现负载均衡?

  • 求用过 Devise + Omniauth 的同志们来看看,一定要把取回来的 OAuth 信息放到 session 里面然后导致 cookie 撑爆么? at 2013年06月27日

    需要吧 env["omniauth.auth"] 里面的 extra 去掉。

    session["devise.github_data"] = env["omniauth.auth"].except("extra")
    
  • newrelic 首页背景图片中的妹子是谁? at 2013年06月27日

    前面那个大哥的老婆。叫他回去吃饭了

  • 聊天服务器构架问题 at 2013年06月27日

    直接用 nodejs 的 socket io 方便

  • Rails 4.0.0 正式发布了 at 2013年06月27日

    等出 4.1 的时候再升级吧,啊哈哈哈

  • Rails 的值怎么传入 angularjs at 2013年06月22日

    既然用了 angularjs 做 rich client site 就应该用 respond to json 实现他们之间的数据传输。让前后端分离

  • incompatible character encodings: UTF-8 and ASCII-8BIT at 2013年06月16日

    #6 楼 @goophy 放弃了,最后 override 了 devise registration controller 解决了

  • incompatible character encodings: UTF-8 and ASCII-8BIT at 2013年06月15日

    #3 楼 @goophy 用了 force_encoding("GBK") 结果报:

    Encoding::InvalidByteSequenceError (incomplete "\x91" on GBK)

  • incompatible character encodings: UTF-8 and ASCII-8BIT at 2013年06月14日

    #1 楼 @luikore 现在这个注册后的 redirect 都有问题,正常情况下 (username 是字符的时候),注册成功后会 redirect 到首页上,中文 username 的时候,注册成功后,又会去 render registrations/new,我尝试用 devise wiki 上的方法,直接更改注册后的 redirect path,我是在application controller下,添加这个方法

    def after_sign_in_path_for(resource_or_scope)
       root_path
     end
    

    这个函数是执行了,但就是不会 redirect 到 root。不知道为什么。。。我觉得注册后只要它不再 render registrations/new 就应该解决了

  • 有关 ruby 进程的内存性能优化 at 2013年06月12日

    有个专门 for api 的 rails 不知道楼主用没有 rails-api

  • 六一在家折腾个 WALL·E 给闺女玩 (已更新:Audio & Text to Speech) at 2013年06月12日

    强大

  • ruby-china load 头像是怎么实现的? at 2013年06月08日

    哦,原来如此。

  • Yes! Ruby China 升级到了 Rails 4 at 2013年06月07日

    折腾帝,牛!

  • 实例说明 Ruby 多线程的潜力和弱点 at 2013年05月27日

    不错的实例解释

  • Ruby 社区应该去 Rails 化了 at 2013年03月27日

    我觉得高并发不是网站开发的唯一问题,很多网站并不需要很高的并发能力。框架也不是只为解决高并发而生的,解决高并发还有其他很多途径。

  • Google Reader 即将关闭,你有什么想说的? at 2013年03月16日

    Feedly 火了

  • 讨论一下基于 Ruby / Rails 的在公司里的技术栈 at 2013年03月14日

    你们公司的页面可不可以不要中英文对照?看得我眼花 @@

  • 2012年12月21日以后的数据丢失了 at 2013年01月06日

    rss feed 里面还有数据哦,不知道可不可以用它来导入

  • Mongoid 的 limit 设置怎么没效? at 2012年11月01日

    试试这个: Topic.all.limit(100).where(:status => 0) 或者 Topic.where(:status => 0).limit(100)

  • mongoid 里面怎么使用 or? at 2012年11月01日

    有这么几个常用的:

    .any_in(:category => array) .all_in(:category => array) .any_of({ :shape => "round" }, { :color => "red" }) .and(:amount.gt => 100, :account_status => "active")

  • 你们用什么缓存?rails 自带的缓存 page,action,fragment 是不是不大方便用啊? at 2012年08月17日

    Dalli

  • 社区少了一些高质量的贴子 at 2012年08月17日

    不明白为什么很多人说 ruby 入门难。我觉得和 python 也差不多。而且在网站编程方面,比 python 容易多了

  • 关于学习 Ruby 的一些问题 at 2012年08月17日

    我觉得 migration 很好用啊,很方便添加,删除,还可以 rollback 不同版本。导入数据库也很方便。已经很智能了。

    mongodb 根本就不存在添加字段之说

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