Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
李华顺
@huacnlee
Admin
NO. 2 / 2011-10-28

[email protected]
长桥证券 (Longbridge)
成都
502 Topics / 9058 Replies
959 Followers
53 Following
105 Favorites
Reward
GitHub Public Repos
  • autocorrect 1412

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

  • rails-settings-cached 1104

    Global settings for your Rails application.

  • rucaptcha 697

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

  • zed-theme-macos-classic 97

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

  • vscode-macos-classic.t... 22

    macOS Classic theme for Visual Studio Code

  • zed-extension-action 19

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

  • autocorrect-action 11

    GitHub action for use AutoCorrect as lint

  • zed-autocorrect 6

    AutoCorrect for Zed

  • gpui-workspace 4

    Dock layout UI component for GPUI, that extracted from Zed project.

  • zed-lalrpop 3

    LALRPOP parser grammar support for Zed.

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 为何升级 yosemite 之后,iCloud drive setting up 菊花一直在转,转到现在了就是没停下来。 at October 18, 2014

    哪里有 Bug

  • 如何查看 SendCloud 返回的状态码 at October 17, 2014

    发完了往 Log 文件里面写

  • bootstrap sass gem 的 precompile 真是无解... at October 17, 2014

    用 CSS 的文件都简单啊,这不是折腾么

  • 安装了 ruby-china 后,社区底部内容如何编辑? at October 16, 2014

    rake db:seed

  • 安装了 ruby-china 后,社区底部内容如何编辑? at October 16, 2014
    1. config.yml 的 admin_emails 增加管理员
    2. 重启 Rails,打开 /cpanel,进入“设置”栏目
  • Rails 里面数据库变更操作 at October 16, 2014

    删除的时候也是建 Migration 执行删除动作。 请阅读: http://guides.ruby-china.org/active_record_migrations.html

  • 你需要将 CarrierWave 的删除旧文件功能禁用掉! at October 14, 2014

    实际上我还提过 Pull Request:

    https://github.com/carrierwaveuploader/carrierwave/pull/1447 [废弃了] https://github.com/carrierwaveuploader/carrierwave/pull/1503

  • 你需要将 CarrierWave 的删除旧文件功能禁用掉! at October 14, 2014

    #4 楼 @chunlea 这个是当然有的:

    https://github.com/carrierwaveuploader/carrierwave/blob/master/lib/carrierwave/orm/activerecord.rb#L30

    after_commit :"remove_#{column}!", :on => :destroy
    
  • 你需要将 CarrierWave 的删除旧文件功能禁用掉! at October 14, 2014

    #1 楼 @chunlea 唯一地址那个是另外一个事情,其实有许多细节的

    实际上,Ruby China 现在头像也是这么做的。

  • 友好速搭的技术栈 for Ruby off Rails at October 14, 2014

    给你微调了一下排版,并加精!

  • 为何安装了 Node.js 仍然出现 JavaScript runtime 错误 at October 14, 2014

    请看这个: https://ruby-china.org/topics/1020

  • [转] 互联网招聘文案的正确解读方法 at October 13, 2014

    "知名公司" -> 实际上没什么影响力,不然为何不提。

  • [转] 互联网招聘文案的正确解读方法 at October 13, 2014

    顶第一条!

  • Wiki 中 The Ruby Style Guide 的拼写失误吗? at October 13, 2014

    已修改

  • Rails 预编译后请求 CSS, JS 文件的 URL 未更新 at October 11, 2014

    #9 楼 @dgy1126 因为 Rails 对这些计算的东西有缓存的(内存缓存),这个动作是在启动后第一次请求的时候做的,以后得请求都是用缓存的值,以减少重复运算。

  • 生产环境怎么无法传入 ID,开发环境正常 at October 11, 2014

    undefined 这明显是 JS 搞出来的啊,你前因后果都没讲清楚,没法看出问题在哪里

  • OS X 下 simple-captcha 验证码无法出来 at October 11, 2014
    $ brew install ghostscript
    

    http://stackoverflow.com/questions/13936256/imagemagick-error-while-running-convert-convert-unable-to-read-font

  • Rails 预编译后请求 CSS, JS 文件的 URL 未更新 at October 11, 2014

    我再次看了一下你主贴给的截图,Rails HTML 生成的时候以及有 Assets 的 digest 的,只是和你预编译出来的文件不一样,所以和环境配置文件没有关系。

    1. 发布以后 stocks-59c6ede76fa709dc52fa25971a054f4b.js 没有了?

      原因:Capstrano 新发布以后,会在 releases 目录创建一个当前时间的新目录,current 目录是软连接过去的,所以你之前预编译出来的文件在 current/public 下面就没有了

    2. Rails HTML 结果里面依然还是调用的 stocks-59c6ede76fa709dc52fa25971a054f4b.js 原因:你是不是预编译以后,没有重启过 Unicorn?

  • Rails 里面好多东西都看不懂咋搞啊 at October 11, 2014

    #7 楼 @est 这叫:多约定少配置, 另外 rdoc.info 查文档很方便的!

  • OS X 下 simple-captcha 验证码无法出来 at October 11, 2014

    看控制台 Rails log, 里面有错误信息的

  • Rails 预编译后请求 CSS, JS 文件的 URL 未更新 at October 11, 2014

    你知道什么是 Rails.env 或 RAILS_ENV 么?你跑的是什么?

    • 如果你确定 Rails.env 是 production,那么请检查你的 config/environments/production.rb,确定里面的assets.digest 得是 true config.assets.digest = true,请阅读:《Rails Guides - Assets Pipeline - 生产环境》
    • 如果你的 Rails.env 不是 production,那么你需要学习 Rails,以及 Rails 部署相关的文档
    • 如果你不知道 Rails.env 是什么,不清楚怎么看,那么你还需要把 Rails Guides 完整阅读一遍。

    下面这些文档有看过看完么:

    • http://guides.ruby-china.org/configuring.html
    • http://guides.ruby-china.org/asset_pipeline.html
  • Prev
  • 1
  • 2
  • …
  • 97
  • 98
  • 99
  • 100
  • 101
  • …
  • 264
  • 265
  • Next
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English