Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Jason
@duanjs
会员
第 12662 位会员 / 2014-04-18

长沙
0 篇帖子 / 20 条回帖
1 关注者
2 正在关注
20 收藏
GitHub Public Repos
  • homeland 1

    :circus_tent: Open source discussion website.

  • forem 0

    For empowering community 🌱

  • awesome 0

    😎 Awesome lists about all kinds of interesting topics

  • rails-template 0

    A best & newest & fastest rails 6.x template for senior rails developer.

  • spree 0

    Open Source eCommerce platform for global brands. An alternative to Shopify, Salesforce Commerce ...

  • gitea 0

    Git with a cup of tea, painless self-hosted git service

  • ImHex 0

    A Hex Editor for Reverse Engineers, Programmers and people that value their eye sight when workin...

  • zx 0

    A tool for writing better scripts

  • geekweibo 0

    A twitter-like app where you can save and share short notes around programming. You can think of ...

  • slate 0

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 有谁知道怎么获取 Aliyun 官方的 OSS SDK Callback 的返回内容? at 2016年12月21日
    1. 开启 callback 功能
    2. 服务端配置一个 callback 地址 (可单独写一个 Controller)
  • 现在多少人还有 “程序员干到 35 岁就干不动了,一定要转管理” 的念头? at 2016年12月09日

    #6 楼 @ghjcumt2008
    你那是东京,不符合社会主义社会的中国😹

  • 现在多少人还有 “程序员干到 35 岁就干不动了,一定要转管理” 的念头? at 2016年12月09日

    😢

  • UPYUN 支持 Elixir hex.pm 国内镜像 at 2016年11月18日

    👍

  • Ruby China 2016 纪念拉链帽衫 at 2016年11月07日

    #84 楼 @adamshen 已发,TKS !

  • Ruby China 2016 纪念拉链帽衫 at 2016年11月07日

    #81 楼 @adamshen 我的买小了,我和你换😀

  • Ruby China 2016 纪念拉链帽衫 at 2016年11月05日

    小了 😔

  • 自己入门 Rails 时开发的博客应用 at 2016年09月13日

    皮肤很漂亮,蛮喜欢的😀

  • 青轴,茶轴还是红轴, 哪个更适合敲代码? at 2016年07月11日

    建议红轴 游戏、码字两不误😉 😎

  • 只有状态不同的条件可以如何重构? at 2016年07月06日

    #9 楼 正解,用到了元编程😃

  • GitHub 上开源的后台模板列表,让后台页面也漂亮一点 at 2016年06月27日

    之前买过几套😒

  • 围绕 MacBook Pro 打造的工作站设计日志 at 2016年06月23日

    楼主在半塘上也有发吧?😂

  • 如果一门语言在你的日常工作生活中用不到你还会专注去学吗? at 2016年06月20日

    个人觉得,适当的横向发展是有必要的

  • 两层 N+1 查询问题 at 2016年05月25日

    或者这样:Order.includes(user: [:campany])

  • Grape + Serializer,如何在 JSON 输出中增加 current_user 这样的变量? at 2016年05月09日

    @xlaok k @martinchu current_user 通过 scope.current_user 获取没问题,传其他参数的就有问题

  • Grape + Serializer,如何在 JSON 输出中增加 current_user 这样的变量? at 2016年05月09日

    在 VideoAPI 中这样传送参数:

     get '/:slug',serializer: VideoDetalSerializer do 
         slug = params[:slug]
          video = ::Video.find_by(slug:params[:slug])
          present video, type: 'video'
    end
    

    然后在 VideoDetalSerializer 里面这样获取 serialization_options[:type],官方文档说能获取,但是我测试的时候一样获取不到

  • 通过「刻意练习」,你才能成为顶尖的程序员 at 2016年01月14日

    总结两点:

    • 兴趣
    • 意志力

    具备这两点,基本上都能成功!

  • Railsconf 2014 官方演讲录像集 at 2014年05月15日

    英文不行啊!听不懂,郁闷。。。

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