Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
@hging
会员
第 11562 位会员 / 2014-02-16

上海
4 篇帖子 / 594 条回帖
8 关注者
1 正在关注
10 收藏
GitHub Public Repos
  • rongcloud-ruby 8

  • cube_cli 3

  • sina_stock_interface 1

  • spree_pingpp 1

    Integrate pingpp-html5 into spree

  • panel 1

  • account_service-client 1

  • ub-api 0

  • aptos-core 0

    Aptos is a layer 1 blockchain built to support the widespread use of blockchain through better te...

  • mit 0

  • ccxt 0

    A JavaScript / Python / PHP cryptocurrency trading API with support for more than 100 bitcoin/alt...

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 国内很少用 Ruby / Rails 开发项目?开放的 API 接口都没有 Ruby 支持? at 2019年03月31日

    emmm 简书被你吃了么。 薄荷被你吃了么。 爱燃烧被你吃了么。

  • 请教接口设计规范问题 at 2019年02月18日

    有什么问题么?没什么问题啊。你用 restful 只是把 type 从 body 里转移到别的位置了。

  • asset 图片显示问题 at 2018年12月03日

    设置 assets_host 然后使用 image_url

  • 问一下云服务商的选择问题 at 2018年11月29日

    Ucloud 香港的话 标称 100M 的话 服务器实际上传带宽只有 10M 超过 10M 疯狂丢包。别问我为什么知道的,我专门发工单有问。。。

  • 数组哈希累加 at 2018年11月14日
    elivery_income_num_count = records.map {|s| s['delivery_income_num']}.reduce(0, :+)
    
  • Active Storage 的正确使用姿势 at 2018年11月02日

    用 activestorage 如果后面接入的是 cdn 服务,就会出一个问题,就是访问图片要先请求 rails,然后再跳转到 cdn 上去,这个还是蛮影响系统的,不知道有没有解决办法?

  • 由于云服务商做安全测试,exception_notification 发送大量邮件 at 2018年08月23日

    sentry?

  • <input name="person [names][]" > 设置 value 得到空数组 at 2018年08月14日

    清空上传文件再做个接口不就好了。。。何必这么纠结呢。

  • 最近谁部署过 Peatio 貔貅交易所 at 2018年06月15日

    emmm 我部署过。顺便升级到了 rails5.0。然后。没了。

  • 使用 Docker 打包 Ruby 项目,关于 Gem 打包的一个坑 at 2018年06月14日

    本机执行:

    bundle install --deployment --without=development
    

    该命令可以把 gem 包打包放在{project_root}/vendor/bundle下面,后面备用 Dockerfile

    FROM ruby:alpine
    RUN apk add --update --no-cache libstdc++
    WORKDIR /app
    
    RUN mkdir -p /usr/local/bundle && echo $'---\nBUNDLE_FROZEN: "true"\nBUNDLE_PATH: "vendor/bundle"\nBUNDLE_WITHOUT: "development"' > /usr/local/bundle/config
    
    COPY . /app/
    
    ENTRYPOINT ["ruby", "run_robot.rb"]
    

    这样就可以了。

  • Whenever 每 20 秒执行任务 at 2018年05月09日

    那这样执行时间也算在里面了。极端条件下比如执行时间是 10s 那么这个脚本就变成 30s 一次了

  • [已截止][Rust 周边] 胸章预订结束 at 2018年04月27日

    ruby#hging.net 两个 古银 + 金色

  • 做了一个 swagger 的 API 文档云端撰写工具 at 2018年04月27日

    手写 yaml。。。。也不难。。。嗯。。。

  • Rails 的欢迎页面改了 :laughing: at 2018年04月27日

    那只猫不是白色的么(跑)

  • [上海] 简书团队招聘 Ruby 工程师 at 2018年04月05日

    emmmm,有可能...

  • [上海] 简书团队招聘 Ruby 工程师 at 2018年04月05日

    作为前员工 表示在里面学到了很多 成长很快 领导奈斯 同事奈斯

  • rails 用索引确认唯一性?如果这么,为什么要这样做?感觉不符合直觉。。。 at 2018年03月26日

    这不是数据库层面的唯一性保证么...

  • 数据库已经有了,如何重写成 Rails 应用 at 2018年03月18日

    那就用原来的数据库,自己对应 model 就行了。。。

  • Ruby 安装报错问题解决汇总 at 2018年02月28日

    uncommon.mk:203: recipe for target 'build-ext' failed 把这句话扔谷歌 第一条答案就是解决办法=。=

    别用百度了

  • Active Record order: ("created_at DESC") 不成功 at 2018年02月26日

    Scoped order is ignored, it's forced to be batch order.

    日志里不是写了么。。。

  • 网站被嵌入 js 跟 iframe 如何屏蔽 at 2018年01月25日

    这跟。。。360 又有什么关系。。如果是 360 浏览器。。。那怕是无解了。就算上 https 该插还插。

  • RSpec update 遇到一个问题 at 2018年01月25日

    https://apidock.com/rails/ActiveRecord/Base/reload

  • RSpec update 遇到一个问题 at 2018年01月25日

    coupon.reload

  • 送几本《Rails 5 敏捷开发》 at 2018年01月25日

    我不听我不听。我就要当分母。哈哈哈哈

  • 网站被嵌入 js 跟 iframe 如何屏蔽 at 2018年01月25日

    上 https。别无他法。

  • 送几本《Rails 5 敏捷开发》 at 2018年01月25日

    从来没抽中过的来当分母。。。

  • 谨防比特币和区块链骗局 at 2018年01月25日

    支持提醒。但是比特币≠区块链。 技术还是可以研究研究的。蛮有意思的。

  • 部署后邮件发送不成功 at 2018年01月25日

    我昨天也遇到了。。。搜索之后发现 google cloud 屏蔽了邮箱端口。一脸懵逼啊。被迫换成了 mailgun

    Google Compute Engine does not allow outbound connections on ports 25, 465, and 587. By default, these outbound SMTP ports are blocked because of the large amount of abuse these ports are susceptible to. In addition, having a trusted third-party provider such as SendGrid, Mailgun, or Mailjet relieves Compute Engine and you from maintaining IP reputation with your receivers.

    https://cloud.google.com/compute/docs/tutorials/sending-mail/

  • 看着源码操作的 controller 下的 application_controller.rb 出错 at 2018年01月23日

    我猜文件夹不对

  • 两个 rails 项目之间如何交互 at 2017年12月19日

    。。。。没有接口做接口。。。否则呢

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