Ruby China
  • 社区
  • 招聘
  • Wiki
  • Gems
  • 注册
  • 登录
李华顺
@huacnlee
管理员
第 2 位会员 / 2011-10-28

[email protected]
长桥证券 (Longbridge)
成都
503 篇帖子 / 9084 条回帖
969 关注者
53 正在关注
105 收藏
打赏作者
GitHub Public Repos
  • autocorrect 1626

    A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuation...

  • rucaptcha 702

    Captcha Gem for Rails, which generates captcha image by Rust.

  • zed-theme-macos-classic 169

    A macOS native style theme for Zed, let it same like native app in macOS.

  • omarchy-mihoro 110

    Omarchy plugin to display Mihoro status.

  • omamail 103

    Omarchy mail plugin with Gmail, HEY and IMAP supports.

  • color-lsp 58

    A document color language server.

  • zed-extension-action 40

    GitHub Action for automatically bump Zed Extensions version after a release.

  • zed-csv 27

    CSV support for Zed

  • omarchy-which-key 17

    Which-Key for Omarchy

  • autocorrect-action 12

    GitHub action for use AutoCorrect as lint

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 完美的 Ruby 图形验证码 Gem - RuCaptcha at 2015年11月02日

    #59 楼 @ren_jiaxing #58 楼 @cckkll 请直接调用 http://localhost:3000/rucaptcha/ 并看日志是否有输出错误信息


    另外尝试直接执行下面的命令,看看是否有错误信息,最后打开 ~/Desktop/foo.png 看看图片是否正常

    convert -size 150x48 -fill 'rgba(111,34,125,1)' -draw 'text 5,5 "9"' -fill 'rgba(4,24,24,1)' -draw 'text 37,5 "4"' -fill 'rgba(115,103,3,1)' -draw 'text 69,5 "e"' -fill 'rgba(25,122,36,1)' -draw 'text 101,5 "d"'            -draw 'stroke rgba(33,23,71,1) line 3,8 117,5'           -draw 'stroke rgba(33,23,71,1) line 4,0 76,33'           -draw 'stroke rgba(33,23,71,1) line 0,1 76,27'           -wave 3x2           -gravity NorthWest -sketch 1x10+0 -pointsize 38 -weight 700           -implode 0.4 label:- png:-  > ~/Desktop/foo.png
    
  • 完美的 Ruby 图形验证码 Gem - RuCaptcha at 2015年11月02日

    #56 楼 @cckkll Rails 控制台有错误信息吗?

  • 完美的 Ruby 图形验证码 Gem - RuCaptcha at 2015年10月31日

    Oh 忘了确保目录存了

  • Rails 项目部分视频在 Chrome 下不能播放 at 2015年10月30日

    哎,你一个视频播放功能关 Rails 啥事 (虽然我也不知道问题在那里) 首先你得搞清楚这功能是谁提供的

  • 下线 Gravatar 头像功能,改由 letter_avatar 代替,并且没上传头像不允许发帖了 at 2015年10月30日

    #44 楼 @tuliang 好了

  • 前端框架选择的一个现实的问题 at 2015年10月30日

    Backbone.js IE6 都支持

  • 完美的 Ruby 图形验证码 Gem - RuCaptcha at 2015年10月30日

    0.2.0 已经发布,文件缓存功能有了

    @embbnux @sforce100

  • 完美的 Ruby 图形验证码 Gem - RuCaptcha at 2015年10月29日

    #44 楼 @embbnux 如果加上那个就太复杂了,我会尝试一些其它方案,比如文件 cache 来优化,利用已有的验证码,每天换一批

  • [上海][2015年10月27日] Ruby 聚会召集 at 2015年10月29日

    👍

  • 完美的 Ruby 图形验证码 Gem - RuCaptcha at 2015年10月28日

    #31 楼 @bighuzi 我不知道,这个看不出问题,请在 GitHub Issue 上面提交完整的日志信息

  • 完美的 Ruby 图形验证码 Gem - RuCaptcha at 2015年10月28日

    #29 楼 @bighuzi ImageMagick 装了没,看 Rails 控制台日志

  • 下线 Gravatar 头像功能,改由 letter_avatar 代替,并且没上传头像不允许发帖了 at 2015年10月28日

    #19 楼 @bestjane ?? 老贴不算

  • 下线 Gravatar 头像功能,改由 letter_avatar 代替,并且没上传头像不允许发帖了 at 2015年10月28日

    #2 楼 @psvr 就是为了让没头像的能够区别开,所以才有不同的颜色,不然一眼望过去,看起来都是同一个人

  • 完美的 Ruby 图形验证码 Gem - RuCaptcha at 2015年10月28日

    #27 楼 @psvr 来自于 reCAPTCHA 的变形 re -> ru

  • Ruby China 生日快乐~ at 2015年10月28日

    👏 👏 👏 👏 👏

  • 看见就不舒服的缩写 at 2015年10月27日

    这就好像你叫 Peter,但有人非得每次叫你其他你不喜欢的名字一样(现在 Rails 官方,以及文档里面没有一个地方提过 RoR 这个字眼,而之前存在,改了说明他们觉得 Rails 更好)

  • [广州] ITC 电子招聘系统架构师一名 (ruby) at 2015年10月27日

    5.5 天...

  • 点击图片添加物品到购物车的疑问 at 2015年10月27日

    #4 楼 @torubylist 你 button_to 那个按钮能达到你期望的效果吗? 如果可以,你可以让点击图片按钮那个动作,用 JS 调用 button_to 那个按钮的点击,这样就实现了。

  • 点击图片添加物品到购物车的疑问 at 2015年10月27日

    #2 楼 @torubylist 修改 link_to 问题解决了吧?

  • 点击图片添加物品到购物车的疑问 at 2015年10月27日
    <%= button_to 'Add to Cat',line_items_path(:product_id => product )%>
    

    这里 line_items_path 从路由上面来看,应该是 POST 动作才可以的!你可以尝试这样

    <%= button_to 'Add to Cat',line_items_path(:product_id => product), method: 'post' %>
    
  • 完美的 Ruby 图形验证码 Gem - RuCaptcha at 2015年10月27日

    #17 楼 @KoALa 已经修正了,等下一个版本发布

  • 完美的 Ruby 图形验证码 Gem - RuCaptcha at 2015年10月27日

    #15 楼 @david_inner JS 实现一下,让 img src 重新设置一个,就可以了

    可以参考:https://github.com/ruby-china/ruby-china/commit/f6f21b4f53272c8c9e25ab05c8a27a6b823012c9

  • 看见就不舒服的缩写 at 2015年10月27日

    已经非常少见别的地方哪里有人叫 Ruby on Rails 为 RoR 了,也就中国地区还老有人这么叫!

    这直接表现出对方已经很久没有关注过 Ruby on Rails 官方网站以及 Rails 社区了!

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