Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Leon Xu
@xfstart07
高级会员
第 2141 位会员 / 2012-05-09

xfstart07@gmail.com
上海
6 篇帖子 / 142 条回帖
7 关注者
30 正在关注
171 收藏
Web developer
GitHub Public Repos
  • watcher 8

    计算文件夹中文件的MD5值

  • gim 2

    golang implement im server

  • go_datastruct 1

    数据结构笔记, golang实现

  • learnjava 1

    learning java

  • litetq 1

    单机轻量的任务队列

  • gocrontab 1

    go cron

  • weixinote.com 1

    blog.weixinote.com

  • shell 1

    shell learning

  • learngo 1

    learngo

  • spring-boot-java11 0

    This example demonstrates what Spring Boot 2.1.3.RELEASE not correct working with the JAVA 9-11 m...

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • RubyConf China 2023 讲师征集 at 2023年05月08日

    🎉 🎉 🎉

  • 请教一下用过 AMS 的,我想要在返回的 Serializer 里面加一个状态,怎么加 at 2017年10月09日

    也推荐使用 jbuilder , 使用起来方便、直观

  • 相关联的表中,字段联动处理的最优方法!请指教!!! at 2017年08月29日

    rails cache 也支持 文件缓存的,你可以直接使用 Rails.cache,可以看看 https://rails.guide/book/caching_with_rails.html#caching-with-rails-an-overview 的 27.1.6 低层缓存

  • 相关联的表中,字段联动处理的最优方法!请指教!!! at 2017年08月29日

    存 id , name 可以用 redis 来缓存,然后在 article 的 model 里面加 author_name 方法读缓存

  • [珠海][魅族][全职] Ruby 开发工程师 (持续有效) at 2017年08月29日

    @bonnie1234 没人回复邮件呢

  • [上海][2017年06月20日] Ruby 聚会召集 at 2017年06月10日

    👍

  • Ruby on Rails 使用 GraphQL 例子 at 2017年06月01日

    @hfpp2012 谢谢😀

    @ACzero 确实 GraphQL 有很多自定义的东西,熟悉了应该写起来就快很多了。毕竟定义都是固定的,剩下的还是使用 Ruby 写的逻辑了

  • Ruby on Rails 使用 GraphQL 例子 at 2017年06月01日

    @kevinzhow 在 Twitter 上看到你好像在写 Go,Go 也支持 GraphQL 的,http://graphql.org/code/#go 其实我还没在正式项目上使用过,但 GraphQL 真的挺不错的,特别是对于前端来说有更多的选择权,不用经常讨论字段少了或者多了

  • [上海 张江] pwc (sdc) 招后端,前端,区块链应用开发。 at 2017年05月26日

    @riskgod 谢谢

  • [上海 张江] pwc (sdc) 招后端,前端,区块链应用开发。 at 2017年05月26日

    xfstart07#gmail.com 你看看,我刚又回复了你的邮件,谢谢

  • [上海 张江] pwc (sdc) 招后端,前端,区块链应用开发。 at 2017年05月26日

    发了邮件一直没有回复,是简历没过吗?

  • [上海 张江] pwc (sdc) 招后端,前端,区块链应用开发。 at 2017年05月23日

    谢谢😀

  • [上海 张江] pwc (sdc) 招后端,前端,区块链应用开发。 at 2017年05月23日

    你好,我刚发了邮件给你,想应聘后端,谢谢😀

  • [北京&上海&广州&深圳&武汉] DJI 大疆创新招聘 Ruby 工程师 / Team Leader (saberma 内推 15-40k) at 2017年05月10日

    @saberma 现在上海也设点啦

  • 现在 Rails 怎么写 JavaScript 的 template literals? at 2017年05月08日

    确实很慢,我用 sprockets-es6 都一年多了,sprockets 兼容 ES6 还是 bete 版😅 。

  • 现在 Rails 怎么写 JavaScript 的 template literals? at 2017年05月07日

    如果不使用 webpack,可以添加 Gem sprockets-es6 来支持 es6 语法,不过我觉得应该 webpack 是趋势了

  • 工程师只是负责实现吗? at 2017年03月02日

    还要懂需求,不然写出来的都不能很好解决问题

  • 请教大家关于使用 default_scope 遇到的一个问题 at 2017年02月22日

    我设置了一个default_scope { where(role_id: 1) }

    2.3.3 :001 > Account.all
      Account Load (0.3ms)  SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`role_id` = 1
    
    2.3.3 :002 > Account.where(role_id: 2).unscoped
      Account Load (0.4ms)  SELECT `accounts`.* FROM `accounts`
    

    unscoped 是没有问题的,一般这种错误是需要先看看数据有没有问题

  • 请教大家关于使用 default_scope 遇到的一个问题 at 2017年02月22日

    Article.unscoped.where(:id=>params[:id],:status=>article.status).unscoped.first 你的代码为什么会调用 2 次 unscoped

  • 请教大家关于使用 default_scope 遇到的一个问题 at 2017年02月22日

    @ghn645568344 已经给出了错误 ActiveRecord::RecordNotFound (Couldn't find Article with 'id'=1,找不到 id = 1 的记录,并不是 default_scope 的问题

  • 基于 Rails 5 的 B2C 电商开源项目 at 2017年02月22日

    赞👍

  • 功能强大的导出 excel 的 gem:write_xlsx at 2017年02月09日

    这类工具还是蛮多的

  • 功能强大的导出 excel 的 gem:write_xlsx at 2017年02月09日

    今天也刚使用了一个 excel 导出的 Gem,axlsx_rails https://github.com/straydogstudio/axlsx_rails

    使用模版的方式来填写内容,模版扩展名.xlsx.axlsx

    wb = xlsx_package.workbook
    wb.add_worksheet(name: "Buttons") do |sheet|
      @buttons.each do |button|
        sheet.add_row [button.name, button.category, button.price]
      end
    end
    
  • [深圳][已结束] 2017.01.14 Ruby 活动 at 2017年01月11日

    支持!👍

  • Ruby China 2016 纪念拉链帽衫 at 2016年10月25日

    @lidashuang 666 买买买

  • 我就想问下,那件熊猫衫啥时候有得卖啊... at 2016年09月26日

    帽衫👍

  • Coding WebIDE 宣布开源 at 2016年09月13日

    😯 以后临时需要改代码就方便了

  • iPhone 7 发布会有感 (没有新 Mac,哭) at 2016年09月08日

    #7 楼 @lidashuang 就有呵呵😄

  • 求助:阿里云服务器一直 down 掉,加了防火墙 at 2016年07月01日

    原来不止一两个人,我们也是

  • [珠海] 智能汽车公司招聘 Ruby on Rails 开发工程师 at 2016年06月03日

    珠海现在也有公司用 Rails 了👏

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