Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Eric-Guo
@ericguo
高级会员
第 1665 位会员 / 2012-03-31

[email protected]
天华建筑设计
上海
47 篇帖子 / 1390 条回帖
181 关注者
245 正在关注
75 收藏
Codex PR & commit submitter, specialist on Rails and React.
GitHub Public Repos
  • wechat 1333

    API, command and message handling for WeChat in Rails

  • wechat-starter 351

    WeChat web app with wx_pay in rails

  • tailwindcss-jit-stimulus 19

    A template with Rails 7.1, Shakapacker 7.2, TailwindCSS 3 and Stimulus 3.0

  • pgac_demo 15

    Rails 7.2 Action Cable chat room using AnyCable as backend

  • coreui4-rails-starter 12

    The CoreUI 4 Rails starter

  • product_hunt 5

    Demonstrate new Rails 5.1 feature: Assets on Yarn, System tests with Capybara and unified form_wi...

  • openproject 3

    OpenProject is the leading open source project management software.

  • ruby 1

    The Ruby Programming Language [mirror]

  • homeland 1

    :circus_tent: An open source forum/community system based on Rails, developed based on Ruby China.

  • rails 1

    Ruby on Rails

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 今注册 Linode 帐号没过几分钟后被删了求解? at 2013年08月27日

    说明高帅富的你不适合用 linode,试试 AWS 吧。。。

  • 很奇怪的问题 at 2013年08月27日

    You can also edit the file “C:\RailsInstaller\Ruby1.9.3\lib\ruby\1.9.1\webrick\httpresponse.rb”, line 205 and add red part to avoid very annoying warning

    if chunked? || @header['content-length'] || @status == 304 || @status == 204
    
  • 关于 assets-pipeline 的一些问题 at 2013年08月25日

    关闭 assets.debug 试试,config/environments/development.rb

    YourApp::Application.configure do
      # Debug mode disables concatenation and preprocessing of assets.
      # This option may cause significant delays in view rendering with a large
      # number of complex assets.
      config.assets.debug = false
    end
    
  • Ruby 性能真的比 Node 差这么多么? at 2013年08月25日

    #91 楼 @bhuztez promise 和 deferred 还是略有差异吧。。我也刚开始学,老外就是会起名啊!

  • 请助一个关于 mysql 的大数据查询语句优化. at 2013年08月25日

    Model 应该是类,要大写吧?

    问题一,id 列表写死在 SQL 中多少会影响执行效率

    问题二,如果是 SQL 的话,可以这样写:

    SELECT accountid, MAX(characterid), level
      FROM model
     WHERE action = BehaviorType::CHAR_CREATE
       AND timestamp between DAY_BEGIN and DAY_END
     GROUP BY accountid, level
     ORDER BY level DESC
    

    至于 active_record 写法,我的感觉是即使精通 SQL,有时候也是有点难写的。。

  • Ruby 性能真的比 Node 差这么多么? at 2013年08月24日

    #88 楼 @bhuztez promise 的 resolution 中也可以嵌套另一个 promise,至于返回,作为 javascript,本身就能返回函数。deferred 手法不熟不敢说啥,不过 js 里面也是有的,只是现在 promise 更主流,Python 的 Twisted 或者 Erlang 我都没经验,所以也不好说啥。

  • Ruby 性能真的比 Node 差这么多么? at 2013年08月24日

    我和楼上诸位观点略有差异,认为 node.js 未来发展肯定会比 go/Er 好(毕竟前端 browser 人家是唯一语言,优势太大。。),.v11.2 的 yield 出了以后,javascript 这边应该是也有了 ruby 的 yield 能力(也就是 85 楼的 generator),然后 javascript 允许 function 作为 first class 处理,函数返回函数,这个能力似乎在异步编程里面很有用,诸如promise的异步编程手法也不能说完全反人类,只是比较新的想法,目前大家都一时不太能转过弯来吧。。

  • 买个便宜的国外 VPS 也不错 at 2013年08月22日

    65 美刀的 AWS,东京服务器好像更有性价比一点。

  • 关于 vim 或 sublime_text2 写代码的问题 at 2013年08月21日

    #1 楼 @lxxdn ST2 这个插件叫ERB Insert and Toggle Commands

  • Ruby 性能真的比 Node 差这么多么? at 2013年08月19日

    #1 楼 @blacktulip 自古神评在一楼啊!

  • Git push 到多个 Repository at 2013年08月19日

    问题写的很清楚,试着回答:把 server 1 也配成推送到 server 2&3 的 repository 目录就可以,也就是搞成原来本地的设置,然后新的本地 local 只推送到 server 1,发布时先发布到 server 1,将 server 1 当作 stage 服务器,没问题的话从 server 1 上推送更新其他服务器

    其实我觉得没必要在本地单独搞一个 bare 的 git 目录,一个中央服务器放 bare 的 git repository 足以,开源就用 github,闭源用 gitcafe 即可。

    也许还可以试试 capistrano 或者 mina?

  • [上海][2013年8月20日] Ruby Tuesday 活动召集 (周二) at 2013年08月15日

    这时间适合我……

  • 国内程序员与国外程序员最大的差别是什么? at 2013年08月15日

    #29 楼 @xiaoronglv 说明 github 这些 star,follower 不准也只有参考价值,不很准呗。。

  • Paul Irish 教你 Web 开发 Workflow at 2013年08月14日

    yeoman 在 windows 下生成的 angular template 甚至不能跑过 karma test。。稳定性还是差得很远。

  • [上海][2013年8月10日] Ruby Tuesday 活动召集 (周六) at 2013年08月13日

    100 楼,在周末两倍工资加班和 ruby 聚会之间无耻的选了前者…

  • gem install jekyll error at 2013年08月13日

    需要 C 编译环境,提示写的很清楚啊。。

  • 一台机器装了多个版本的 rails,如何制定默认版本的 rails at 2013年08月06日

    不需要切换,Gemfile 里面写 rails 3.2.14 即使用,如果希望使用 rails 3.2 的命令行,可以用rails _3.2.14_ -v

  • Windows 生存手册 for Rubyists at 2013年08月03日

    windows 相比 unix 设计理念的确不一样,可能很不符合 ruby 社区的品味,不过我因为工作和历史原因从 windows 3.1 也用到现在了,考虑到 windows 的广泛的群众基础,我觉得大家还是应该鼓励一下楼主分享。。

  • RubyMine 跳转到方法定义的快捷键是?&&怎么调试着看框架源码? at 2013年08月02日

    #1 楼 @lewisgrady Ctrl+B

  • Windows 下 Ruby 2.0 下,SQLite 3 的 gem 加载失败。 at 2013年08月01日

    #15 楼 @evil850209 http://ruby-china.org/topics/11080 上直接安装包吧。。现在这个 213 兆的压缩包已经包括了 rails 4, rails 3.2.13 以及 devkit http://115.com/lb/5lbffhsm#Ruby200.rar 首先安装 32 位 Rubyinstaller 2.0.0-p247,然后把这个压缩包直接解压缩到 C:\根目录

  • 学历低的解决之道 at 2013年07月30日

    #12 楼 @ywjno 有点要求太高了。 结论,还是英语重要。

  • [上海][2013年7月30日] Ruby Tuesday 活动召集 at 2013年07月30日

    总结一下今天的 topic,bootstrap 3,rubymotion,CMS,还有跨国网络延时

  • [上海][2013年7月30日] Ruby Tuesday 活动召集 at 2013年07月30日

    目测人不少,那我也来凑个热闹

  • 如何查询 ruby 的库文档,源代码等等 at 2013年07月27日

    如果你用 windows 的话 rubyinstaller 有一本 Ruby 2.0.0-p247 Help file。。。

  • 迷茫了,该怎么去找方向 at 2013年07月23日

    @lgn21st @linjunhalida @jjym 这位就是大名鼎鼎的冰 MM 啊,虽然没有头像。。

  • 明天 (7 月 23 号) 上海有 Ruby Tuesday 吗? at 2013年07月23日

    没多少人吧?这次目测。

  • [上海][2013年7月9日] Ruby Tuesday 活动召集 at 2013年07月09日

    目测这次是要爆棚的节奏啊!

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