Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Martin
@martin91
会员
第 4755 位会员 / 2012-11-27

深圳
45 篇帖子 / 1467 条回帖
100 关注者
7 正在关注
26 收藏
打赏作者
GitHub Public Repos
  • paperclip-storage-aliyun 22

    Extend the Paperclip with Aliyun Storage

  • rong_cloud 10

    融云 Server API Ruby 语言 SDK

  • jianggaowang-1 1

    Jianggaowang official repository

  • excel-writors-benchmark 1

    Benchmarks for writing excel by different languages

  • gofixtures 1

    Ruby on Rails' style test fixtures for Golang

  • aes-encryption-benchmark 0

  • binance-public-data 0

    Details on how to get Binance public data

  • techparty-org.github.io 0

    珠三角技术沙龙 blog 官网

  • hikvision-isecure-pyth... 0

    python SDK for interacting with HIKVISION iSecure APIs / 用于海康威视综合安防管理平台的 Python SDK

  • hugo-black-and-light-t... 0

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 大家在 Mac 下常用的 UML 建模工具是什么?谢谢! at 2014年08月14日

    umlet,轻量,方便。 也用过 astah,界面比较漂亮,但是好像还不支持 Retina

  • form_relayer - 製作確認頁用 at 2014年08月13日

    始终觉得有点绕,有没有纯 js 的方案呢

  • “亚洲首次的 Ruby on Rails 年会” 大家都知道了吗? at 2014年08月13日

    #2 楼 @lgn21st #3 楼 @fsword 都是奶爸吗

  • Google Analytics Debug Tips at 2014年08月12日

    #3 楼 @chairy11 同好奇

  • 突然间的烦躁 来聊聊你工作时最讨厌什么 at 2014年08月06日

    代码写得正嗨,突然被打断了。

  • Grape 有没有 Pretty-print 的选项? at 2014年08月04日

    Chrome 安装 Postman 插件

  • 请教 social-share-button at 2014年07月30日

    #4 楼 @benyu Rails 的 Engine 我不是很熟悉,或许跟这个也有关系? http://thomas.vondeyen.com/2011/11/09/precompile-assets-from-rails-3-1-engines/

  • 请教 social-share-button at 2014年07月30日

    #4 楼 @benyu 是不是要把sprites/social-share-button.png这个文件加到 precompile 啊?

  • ActiveRecord 中的 find_by_sql,为什么不能传参数 at 2014年07月30日

    #5 楼 @string2020 你原文中的用法应该是 3.1 之前的吧,看这个 http://apidock.com/rails/ActiveRecord/Base/find_by_sql/class

    4.0 开始的用法就变成了数组,看这个 http://apidock.com/rails/ActiveRecord/Querying/find_by_sql

    两者的 examples 差别就在于是不是总的作为一个数组传递,估计这就是关键了吧,你试试?

  • ActiveRecord 中的 find_by_sql,为什么不能传参数 at 2014年07月30日

    #5 楼 @string2020

    Post.find_by_sql ["SELECT title FROM posts WHERE author = ? AND created > ?", author_id, start_date]
    Post.find_by_sql ["SELECT body FROM comments WHERE author = :user_id OR approved_by = :user_id", { :user_id => user_id }]
    

    参数是一个数组

  • ActiveRecord 中的 find_by_sql,为什么不能传参数 at 2014年07月30日

    #2 楼 @string2020 为什么用find_by_sql,where足够满足你的要求了

  • 请教 social-share-button at 2014年07月30日

    #2 楼 @benyu 不是下载啊,你与 social-share-button 的代码是怎么组织的

  • 请教 social-share-button at 2014年07月30日

    你的小图标放在哪里的? app/assets/images?如果不是,就要加到config.assets.precompile配置里边。

  • Font Awesome 4.1.0 加了几个 SNS 分享可用的图标 at 2014年07月27日

    强大的 piedpiper

  • 如何通过 javascript 提取控件内的数据? at 2014年07月26日

    #4 楼 @jyootai 嗯嗯,这个得去了解一下

  • Kaminari 问题 at 2014年07月25日

    #4 楼 @suyuhang 还得设置 locale 为:zh-CN, 如果是单语言,可以设置 default_locale,如果不是,则需要提供语言切换。具体看 Guides

  • 如何通过 javascript 提取控件内的数据? at 2014年07月25日

    #1 楼 @dddd1919 #2 楼 @jyootai 是用了控件吧

    fso = new ActiveXObject("Scripting.FileSystemObject"); 
    ts = fso.OpenTextFile("d:\\test.txt", ForReading); 
    
  • cap3+puma 真心好用啊 at 2014年07月19日

    怎么好用?跟 cap2 相比较有没有什么方便或者高效的地方?楼主一句好用,叫人怎么真的赶快行动

  • 支付宝的接口真不好用 at 2014年07月18日

    #18 楼 @kgen 终于有一个不同的角度了。

  • rainbows 有相当于 rails -d 的命令吗 at 2014年07月18日
    $ rails -d
    Error: Command '-d' not recognized
    

    是指rails db ?

  • 经典排序算法资料及 ruby 实现 at 2014年07月18日

    #3 楼 @yfractal 图或者伪代码更好

  • ActionMailer 发送遇到 5xx 错误后的忽视错误继续发送如何做? at 2014年07月18日

    #8 楼 @Rei 应该不是吧,不然岂不是一下子就看到好多其他人的邮件地址?

  • 请教 Assert 文件不能正确的加载? at 2014年07月18日

    因为你不重启,内存中的代码是旧版本的啊,当然不行。所以,楼主,用这个 https://github.com/sosedoff/capistrano-unicorn 自动处理 capistrano 部署后重启 unicorn 服务器。

  • 高考录取,纠结多日,终得尘埃落定,高中课本终于可以卖掉了! at 2014年07月15日

    #33 楼 @lgn21st 同感慨!亚历山大

  • 加入又拍云联盟,送空间,送流量,送 T-shirt,根本停不下来! at 2014年07月14日

    #7 楼 @xiaoronglv 感谢。

  • 庆贺一下,大学终于落停了 at 2014年07月10日

    长江后浪推前浪啊

  • 站立式工作台建设成功 at 2014年07月10日

    悬梁 coding 吧

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