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 1332

    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...

  • sublime-user-folder 5

    My Sublime Text 4 user folder content

  • openproject 3

    OpenProject is the leading open source project management software.

  • openproject-proto_plugin 1

    Exemplary OpenProject plugin demonstrating different ways to extend OpenProject.

  • homeland 1

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

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • Announcing TypeScript 1.0 at 2014年04月03日

    目测 Rails 社区里 TypeScript 多半火不起来。连 server 端语言咱都玩的是动态类型,web 端会有人容忍一个静态类型安全语言?

  • 这个是什么版本有的写法,感觉不错 at 2014年03月29日

    #1 楼 @besfan 2.0.0 一样支持。

  • [上海] VMware 招聘 Senior software Engineer-backend (Linux + Ruby) at 2014年03月27日

    #9 楼 @iBachue ruby+.Net 这组合适合我!

  • rails 使用 bootstrap 出错 at 2014年03月23日

    #13 楼 @317583395 这样其实不好,不 rails way,呵呵。。

  • rails 使用 bootstrap 出错 at 2014年03月23日

    解了,PR,先顺手升级所有 gems 到最新版,然后开始准备解,发现就好了。。。

  • rails 使用 bootstrap 出错 at 2014年03月23日

    读一下bootstrap-sass的 readme?或者给个 git 的源码地址? 单纯看报错看不出啥问题。。

  • 想用 Ruby 连接 oracle 数据库执行 Sql 语句,各位请问有推荐的好方法吗? at 2014年03月22日

    不用那么烦吧,oci8 足以。

    require 'oci8'
    
    conn=OCI8.new('username','password','DB')
    
    co_la_sql = """
    SELECT co.containername, la.stdmrgebatch
    FROM container co
    INNER JOIN a_scheduledata sd on sd.scheduledataid=co.scheduledataid
    INNER JOIN a_lotattributes la ON la.containerid=co.containerid
    WHERE co.batchno IS NULL AND la.stdmrgebatch IS NOT NULL
      AND la.stdmrgebatch like 'M%'
    """
    
    containernames   = []
    stdmrgebatch = []
    conn.exec(co_la_sql) do |r|
        containernames << r[0]
        stdmrgebatch << r[1]
    end
    
    containernames.each_with_index do |id, i|
        sql = "UPDATE container co SET co.batchno='#{stdmrgebatch[i]}', co.changecount=co.changecount+1 WHERE co.containername IN ('#{id}')"
        puts sql + ";\n"
        num_rows = conn.exec(sql)
        puts "#{num_rows} rows updated."
    end
    
    conn.exec "commit"
    conn.logoff
    
    
    
  • 好可爱! at 2014年03月21日

    这腿好内八。。

  • 目前使用 rails 的主流版本是多少? at 2014年03月18日

    ruby-2.0.0-p451, rails 4.0.4 & 3.2.17

  • 使用 oci8 调用存储过程返回值总是 1?急! at 2014年03月18日

    调用 Oracle procedure 你应该用ruby-plsql这个 gem,而不是直接用 ruby-oci8

  • 国内有什么基于 Rails 开发的开源 OA 系统? at 2014年03月12日

    #10 楼 @Cifer_Y 做 MES 8 年的飘过。。。

  • 做好战斗准备再加入创业团队 at 2014年03月08日

    #36 楼 @azhao 正解!

  • ruby 怎么一直往下降呀! at 2014年03月07日

    这排行榜的公司绝对弯微软,只要是微软系的都上升!

  • Rails 死活连不上 Postgresql at 2014年03月06日

    另外随便查了下文档,如果报 could not create any TCP/IP sockets,可以改/etc/postgresql/9.3/main/postgresql.conf换个端口试试 (比如 port 改为 5433)。

  • Rails 死活连不上 Postgresql at 2014年03月06日

    我没用过cubian,我只能说 ubuntu 12.04 的 pg 缺省源安装肯定可以启动的。。

    如果你默认安装 pg,啥都不改,然后不能启动,这可能是一个发行版的 bug。。

  • 大家用过优酷的上传视频 api 吗 at 2014年03月06日

    开两个贴问一个问题真的很不礼貌哦。。

  • Rails 死活连不上 Postgresql at 2014年03月06日

    host: localhost改host: 10.0.0.5试试?

    其实不建议改任何 postgresql 设置,默认本机 unix socket 侦听是最安全的。

    然后 rails 里面这样配,不用 host 和 password 的。。

    production:
      adapter: postgresql
      encoding: unicode
      database: sanmate_prd
      port: 5433
      pool: 5
      username: sanmate
    
  • 有用 MBP 装 Linux 的吗? at 2014年03月06日

    其实 Mac 最大的缺点是:太贵。。。

  • 非联网计算机安装 rails 的各种第三方 gem at 2014年03月05日

    gem install [package_name_with_version in gems cache folder].gem

  • 如何评定自己技术到底属于哪个层次的呢? at 2014年03月05日
    • 初级工程师,只能写出所有工程师都不想读的代码(必须能工作)。
    • 中级工程师,能写出高级工程师不想读,但是所有工程师都能读懂的代码。
    • 高级工程师,能写所有工程师都读不懂的代码,也能写出所有工程师都能读懂的代码,但是无法在所有场景下自如切换这两种代码的书写。(注意两种代码已经所有工程师都想读了,当然想读,读不懂是没有办法的。。)
    • 大神,只写所有工程师都能读懂,并自信他们同样能写出的代码。
  • 为产品人员做一个高保真产品管理工具 at 2014年03月01日

    thin -A . 除了 webrick,唯一的一个三平台支持,ruby 写的 web server

  • [上海] 上海移动 App 公司招聘优秀 rails 工程师 at 2014年03月01日

    #27 楼 @jingleizhao 大神之所以叫大神,是他们可以提前预知危险和错误的技术方向,这点不是上论坛问题可以解决的。。。

  • 都升级到 Rails 4 了吗,大家 ruby 用的什么版本 at 2014年02月27日

    rails: 4.0.3/3.2.17 ruby: 2.0.0-p451

  • 危险,极度危险,今天收到了 2000 刀的亚马逊的账单。警惕啊 at 2014年02月24日

    说的。。。我现在也在用 aws,他家的 micro-t1 年付 65 美刀,很便宜啊!

  • [上海][2014年2月23日] 2014 年 2 月 周末聚会 at 2014年02月23日

    报名 +1

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