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

[email protected]
深圳
193 Topics / 9174 Replies
732 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 289

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

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

    **no longer maintained**

  • geeknote 38

  • material-ui 17

  • rich-text-editor 12

  • htmlrenderer 12

  • rails-chatgpt-demo 8

  • rails-app 7

    A Rails project template lets me start new projects quickly.

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • Rails 的 controller 中如何处理图片路径? at June 16, 2013

    "#{Rails.root}/path/to/image"

  • rails 怎么实现图片上传和管理呢 at June 15, 2013

    Rails File Uploads https://www.ruby-toolbox.com/categories/rails_file_uploads

  • 一个关于 rails 关联模型的创建问题 at June 15, 2013

    Rails Tagging https://www.ruby-toolbox.com/categories/rails_tagging

  • Google Reader 之后,现在,大家一般用啥工具来订阅 RSS? at June 14, 2013

    feedly

  • Ruby table 表与 model 名字的对应关系 at June 13, 2013

    如果没有建立 Model,那么就没有这个 Model。

  • 无限往下加载的页面,页脚该不该放东西? at June 12, 2013

    不该放东西,页脚内容转到侧栏底部,参考 Twitter。

  • 请教一个关于 daemon-spawn 的问题 at June 11, 2013

    用 rails runner script_name.rb 方式运行,或者在脚本 require config/environment.rb

  • 不敢相信这是真的:这样的女程序猿。 at June 11, 2013

    PHP48

  • Rails 的一个坑 - order at June 09, 2013

    这不是有么 http://guides.rubyonrails.org/active_record_querying.html#reorder

  • 请教生产环境 rake assets:precompile at June 09, 2013

    搞不清楚的时候多做实验。

  • Heroku 再次推送到时候提示 everything up-to-date at June 09, 2013

    #3 楼 @shangchen

    这也上添加了链接到 posts

    没看懂。

  • Heroku 再次推送到时候提示 everything up-to-date at June 08, 2013

    意思是要把代码改动提交到 git 里面去。

  • 如何让邮件的内容为动态生成且是 HTML 格式? at June 08, 2013

    #11 楼 @felixding 其实应该传数据库 ID,这样储存空间占用更小,也避免反序列化出现问题。

  • RubyMotion Runtime Guide 中文版 at June 08, 2013

    #5 楼 @chunlea 可以借用一些工具 http://html2markdown.com/

  • RVM 安装 Ruby 1.9.2 安装出错,如何解决啊。呜呜。。 at June 08, 2013

    #33 楼 @zhangyuxiu 如果你用 gnome-terminal,勾上这个

    https://rvm.io/integration/gnome-terminal/

  • Rails 4 在 Github 上的 issues 都清完了,是时候发布了吧? at June 08, 2013

    已经用上了 strong_parameters,turbolinks,不用 activerecord,估计我的很好升。

  • RVM 安装 Ruby 1.9.2 安装出错,如何解决啊。呜呜。。 at June 08, 2013

    #20 楼 @zhangyuxiu 刚才那个链接提到两个修复方法,我都试不了,不知道会不会有严重后果:

    1. yum remove ccache
    2. 找出哪个配置把 ccache 路径设错的,修复它
    grep -F CCACHE /etc/bashrc /etc/profile ~/.bash_profile ~/.bashrc /etc/profile.d/*sh
    
  • RVM 安装 Ruby 1.9.2 安装出错,如何解决啊。呜呜。。 at June 08, 2013

    #14 楼 @zhangyuxiu 我对 fedora 不太熟。

  • RVM 安装 Ruby 1.9.2 安装出错,如何解决啊。呜呜。。 at June 08, 2013

    似乎是个 fedora 14 特定的问题 https://bugzilla.redhat.com/show_bug.cgi?id=651023

    ccache 的环境变量把 cache 路径设到了你没有权限访问的地方,导致编译的时候写入失败。

    ccache 这个包升级到最新了没?

  • RVM 安装 Ruby 1.9.2 安装出错,如何解决啊。呜呜。。 at June 08, 2013

    贴到 https://gist.github.com/ ,然后链接贴过来

  • 别在服务器上安装 RVM at June 08, 2013

    #34 楼 @aptx4869 自从用了 crontab(whenever),就不用考虑进程挂没挂的事啦。

  • RVM 安装 Ruby 1.9.2 安装出错,如何解决啊。呜呜。。 at June 08, 2013

    找找 config.log,看内容

    find .rvm -name config.log

  • RVM 安装 Ruby 1.9.2 安装出错,如何解决啊。呜呜。。 at June 08, 2013

    fedora 已经 18 了吧,旧版本的问题如果没人报 bug 就没人处理了。

  • 别在服务器上安装 RVM at June 08, 2013

    #32 楼 @aptx4869 crontab 是系统服务更可靠,以前用 resque 的时候,如果程序异常,监视进程有可能会挂。

  • 别在服务器上安装 RVM at June 08, 2013

    我用 whenever 生成 crontab 任务的时候是用 bash -l -c 的,-l 参数让它作为 login shell,应该就是和自己 ssh 登陆后行为一致了。

  • Language style at June 08, 2013
    $('#banner-slides').slidesjs(
      width: 710
      height: 353
      navigation:
        active: false
      pagination:
        active: true
      play:
        active: false
        effect: "slide"
        interval: 5000
        auto: true
        swap: false
    )
    

    我看着没问题啊,而且即使用花括号也是这样排版

    $('#banner-slides').slidesjs({
      width: 710
      height: 353
      navigation: {
        active: false
      }
      pagination: {
        active: true
      }
      play: {
        active: false
        effect: "slide"
        interval: 5000
        auto: true
        swap: false
      }
    })
    
  • Language style at June 08, 2013

    #10 楼 @jasl 花括号可以全去了。

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