Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Rei
@Rei
Admin
NO. 1 / 2011-10-28

[email protected]
深圳
188 Topics / 9155 Replies
730 Followers
0 Following
11 Favorites
中下水平 Rails 程序员
Reward
GitHub Public Repos
  • writings 941

    [Closed] Source code of writings.io

  • alipay 732

    Unofficial alipay ruby gem

  • code_campo 291

    [Closed] Source code of http://codecampo.com

  • asciidoctor-pdf-cjk-ka... 101

    **no longer maintained**

  • geeknote 34

  • asciidoctor-htmlbook 31

    Asciidoctor HTMLBook is an Asciidoctor backend for converting AsciiDoc documents to HTMLBook docu...

  • material-ui 17

  • rich-text-editor 12

  • htmlrenderer 12

  • rails-chatgpt-demo 8

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • deploy rails4 with nginx and passenger need run "bundle exec rake assets:precompile"? at April 19, 2014

    Yes.

  • mongoid 数据库如何使用 transction? at April 19, 2014

    楼主觉得重发一帖 Mongodb 就能支持事务了?http://ruby-china.org/topics/18521

  • mongoid 数据库如何使用 transction? at April 19, 2014

    没有,不行。

  • Ubuntu 14.04 LTS 发布 at April 18, 2014

    #10 楼 @HalF_taN 我用过 2 年 Arch,后来升崩了,安装都忘了怎么装,之后才用 Kubuntu。

  • Ubuntu 14.04 LTS 发布 at April 18, 2014

    这次装上 LTS 以后不折腾社区版了。

  • Linode 又升级了,果然是有竞争才有进步 at April 17, 2014

    Oh~MY~GOD!

  • Assets management solved: we released Rails Assets at April 17, 2014

    #35 楼 @hardywu 我已经放弃治疗,用 vendor 了。js 本身没个统一约定,无解。

  • 通过 RVM 安装一个 Ruby 2.1,一晚上了,停滞不前,咋破? at April 17, 2014

    #12 楼 @y_ding 还是那个道理:国外的程序员没遇到过这些问题。

  • 在 /config 目录里添加了 config.yml 文件, 文件里定义了 CONFIG 常量,但 capistrano 在部署时出了问题 at April 17, 2014

    #2 楼 @tiseheaini 我第一次部署会手工 ssh 到服务器,把项目 clone 下来,然后 ./script/setup.sh。

  • 在 /config 目录里添加了 config.yml 文件, 文件里定义了 CONFIG 常量,但 capistrano 在部署时出了问题 at April 17, 2014

    第一次部署之前要先准备好目录和这几个文件。我是放在 ./script/setup.sh 里面做的

    https://github.com/chloerei/campo/blob/master/script/setup.sh#L48

  • 通过 RVM 安装一个 Ruby 2.1,一晚上了,停滞不前,咋破? at April 17, 2014

    #8 楼 @y_ding 中国特色。

  • 部署并安装了 mini_magick 还是会报 Errno::ENOENT (No such file or directory - identify -quiet -ping /tmp/mini_magick20140417-15807-nbkvcn) at April 17, 2014

    apt-get install imagemagick

  • 通过 RVM 安装一个 Ruby 2.1,一晚上了,停滞不前,咋破? at April 17, 2014

    #6 楼 @y_ding 应该是,可以 rvm list 看看,不过我通常都会搞完整个过程才用。

  • 通过 RVM 安装一个 Ruby 2.1,一晚上了,停滞不前,咋破? at April 17, 2014

    #4 楼 @y_ding 可以中断。

  • 在 views 内 show.html.haml 文件下,如何将输入的 html 格式的 content 输出为 haml 格式 at April 17, 2014

    如果发现有些需要的标签被过滤了,看这里 http://api.rubyonrails.org/classes/ActionView/Helpers/SanitizeHelper.html

  • 在 views 内 show.html.haml 文件下,如何将输入的 html 格式的 content 输出为 haml 格式 at April 17, 2014
    %h5= sanitize @article.content
    
  • 通过 RVM 安装一个 Ruby 2.1,一晚上了,停滞不前,咋破? at April 17, 2014

    #2 楼 @y_ding .rvm/gemsets/global.gems 里面定义了几个 gem,然后 rvm 尝试下载安装。

  • redcarpet render lalex 公式有什么好的解决方法? at April 17, 2014
    1. 找一个处理 latex 的库
    2. 在 redcarpet 中写方法提取出 latex 内容
    3. 把 latex 内容扔给专门的库处理
  • 在 views 内 show.html.haml 文件下,如何将输入的 html 格式的 content 输出为 haml 格式 at April 17, 2014

    为什么要这么做?

  • 通过 RVM 安装一个 Ruby 2.1,一晚上了,停滞不前,咋破? at April 17, 2014

    翻墙。

  • RVM 安装失败 at April 16, 2014

    #10 楼 @kenyonduan http://chloerei.com/writings/

  • controller 设置 layout:false at April 16, 2014

    #3 楼 @suyuhang 注释是有意义的,会用作预处理编译。

    路由的定义看书。

  • controller 设置 layout:false at April 16, 2014

    layout 里面有 javascript_include_tags 'application',applicaton.js 里面有 jquery_ujs,jquery_ujs 负责为连接加上 HTTP 动词,所以去掉 layout 之后所有连接退化为 GET 方法,就到 show action 那里了。

  • 盛大云,默认 DNS 问题严重 at April 16, 2014

    大中华局域网。

  • 为什么我都过滤了 new,create,还是能被别人发了垃圾信息? at April 14, 2014

    #5 楼 @5swords 跟这个无关

    If a "before" filter renders or redirects, the action will not run

    http://guides.rubyonrails.org/action_controller_overview.html#filters

  • RVM 安装失败 at April 13, 2014

    发现 rvm.io 访问不了了。

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