Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Keating
@keating
高级会员
第 1117 位会员 / 2012-02-21

威海
13 篇帖子 / 369 条回帖
0 关注者
0 正在关注
84 收藏
GitHub Public Repos
  • Yestoday 0

    一些个人资料

  • clockwork 0

    A scheduler process to replace cron.

  • solidity-by-example.gi... 0

    Solidity By Example

  • uniswap-interface 0

    🦄 An open source interface for the Uniswap protocol

  • uniswap-v3-periphery 0

    🦄 🦄 🦄 Peripheral smart contracts for interacting with Uniswap v3

  • uniswap-v3-info 0

    Interface for Uniswap V3 analytics. 📊

  • binance-ruby 0

    Ruby gem for the Binance API.

  • letsencrypt-plugin 0

    :lock_with_ink_pen: Let's encrypt plugin for Ruby on Rails applications

  • letsencrypt_plugin_rails3 0

  • cargochain 0

    Shanghai Blockchain Hackathon winning project

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 同时写两个 gem 太痛苦了 at 2013年01月25日

    #7 楼 @Saito 两个都是抽离出来的,不是新作的

  • 同时写两个 gem 太痛苦了 at 2013年01月25日

    @yakjuly @ywencn @fsword 如果指定 path(本地一个相对路径),可以bundle install成功,但其实gem list还是没有 B,运行 A 遇到 require B 的代码还是会出错

  • RubyJS - 一个 Javascript 实现的类似 Ruby 的方法 at 2013年01月23日

    If I had to code JavaScript I would use RubyJS. Yukihiro (Matz) Matsumoto, creator of Ruby 这广告强大……

  • [北京][求职][移动互联网][技术总监][首席架构师] at 2013年01月13日

    我靠,早知道我做经纪人😄 话说坛子里不是有猎头吗 @rain

  • [北京][求职][移动互联网][技术总监][首席架构师] at 2013年01月12日

    这是真的么……

  • 为什么一个 ruby 线程可以占用双核 cpu 到 100% at 2013年01月11日

    #3 楼 @tumayun 哇靠,真的艾,又被坑了…

  • 为什么一个 ruby 线程可以占用双核 cpu 到 100% at 2013年01月11日

    #1 楼 @tumayun 我是用 top 看到的 100%

  • [地区不限] 2ViVe 招 Ruby On Rails 开发 - 可春节后到岗 - 薪水范围 10k-14k at 2013年01月11日

    哇靠谱,英文 or 中文?

  • 大家都用什么数据库开发? at 2013年01月11日

    之前用 mysql,现在大部分项目切换到 postgresql 下 大流量架构,几乎没什么经验,我们对数据库的优化,采用了 postgresql 的表格继承(分月),这样查询时只需查询查询存着最近一个月数据的表格,另外把最常用的数据放入 memcached,还是用的 memcached-client 这个古老的 gem,也需要切换到 dalli 下了

    Btw, 建议 lz 把题目改为,“大流量构架,数据库需要哪些优化…”

  • [福利] RailsCasts Pro 3 months coupon at 2013年01月11日

    #2 楼 @sundevilyang 老手们估计都有了或者不需要了,新手们估计还不知道 railscasts 有多好,不过我已经认领了哈哈

  • [福利] RailsCasts Pro 3 months coupon at 2013年01月11日

    又有福利了😄

  • 类型代数的运算 (内有熊和物理学圣剑) at 2013年01月10日

    #13 楼 @luikore 晕,看来我卖萌了…sorry

  • 类型代数的运算 (内有熊和物理学圣剑) at 2013年01月10日

    艾,自卑的人都不知道 @luikore 永远都是高高在上的……

  • 打算开始学 Android 开发…… at 2013年01月10日

    #13 楼 @i5ting 恩,我同事给我演示了,android 模拟器很卡,iphone 的要快多了…

  • 打算开始学 Android 开发…… at 2013年01月10日

    CSDN 工作问题讨论帖

  • 打算开始学 Android 开发…… at 2013年01月10日

    #8 楼 @sanivbyfish thank you. 还是要先把基本的东西学会,再学习使用你的框架 😄

  • 打算开始学 Android 开发…… at 2013年01月10日

    @keating 坑爹啊,记得 n 年前注册的时,怎么试,帐号都被占用……

  • 打算开始学 Android 开发…… at 2013年01月10日

    @hooopo 给改数据库吧 😢

  • 打算开始学 Android 开发…… at 2013年01月10日

    @hooopo 你的工作做的很到位哦 👍 那个 CSDN ID 能改吗?

  • 月薪 20k+ 有多少?八卦一下 at 2013年01月09日

    不羡慕中高层,但羡慕月薪 0 狗……

  • CoffeeScript 大佬,救驾 at 2013年01月09日

    好吧,如果 partial 很少的话,用像@lgn21st 说的那样做,如果很多的话,就 ajax 加载吧

  • 类型代数的运算 (内有熊和物理学圣剑) at 2013年01月09日

    难道粉丝刘德华也要自卑吗……high 就够了……

  • Rails 爆出严重安全漏洞,所有版本需马上升级! at 2013年01月09日

    #7 楼 @kenshin54 几乎不会这样吧……

  • Rails 爆出严重安全漏洞,所有版本需马上升级! at 2013年01月09日
    Due to the way Active Record interprets parameters in combination with the way that JSON parameters are parsed, it is possible for an attacker to issue unexpected database queries with "IS NULL" or empty where clauses.  This issue does *not* let an attacker insert arbitrary values into an SQL query, however they can cause the query to check for NULL or eliminate a WHERE clause when most users wouldn't expect it. 
    
    For example, a system has password reset with token functionality: 
    
        unless params[:token].nil? 
          user = User.find_by_token(params[:token]) 
          user.reset_password! 
        end 
    
    An attacker can craft a request such that `params[:token]` will return `[nil]`.  The `[nil]` value will bypass the test for nil, but will still add an "IN ('xyz', NULL)" clause to the SQL query. 
    
    Similarly, an attacker can craft a request such that `params[:token]` will return an empty hash.  An empty hash will eliminate the WHERE clause of the query, but can bypass the `nil?` check. 
    
    Note that this impacts not only dynamic finders (`find_by_*`) but also relations (`User.where(:name => params[:name])`). 
    

    有什么影响么...User.where([]) 这样会有影响,但其实后面还有分页…… 有人提出不同观点 https://github.com/rails/rails/issues/8831

  • 3.2.5 和 3.2.9 的 asset 有什么不一样么? at 2013年01月09日

    lz 换个正儿八经的头像吧……这头像不像搞技术的,像来打酱油的……

  • 3.2.5 和 3.2.9 的 asset 有什么不一样么? at 2013年01月09日

    最近执行rake assets:precompile后仍然找不到 compiled css,后来同事rake assets:precompile RAILS_ENV=our_environment搞定,于是乎,以后执行 rake 命令最好都加 RAILS_ENV 吧,except development

  • 月薪 20k+ 有多少?八卦一下 at 2013年01月09日

    单位是百,我过了

  • [杭州][2013年01月08号] Ruby Thursday,我们一起学 haskell at 2013年01月08日

    还不如用 google 环聊……

  • iPhone 5 怎么样? at 2013年01月08日

    #17 楼 @sunfmin 你在一直玩游戏么…

  • 有几篇帖子值得恢复啊 at 2013年01月07日

    @luikore 在各种网站都有各种脑残粉…… include me……

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