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

[email protected]
深圳
188 Topics / 9160 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
  • 关于 bundle 的一个弱弱的问题 at February 10, 2015

    Can't find the PostgreSQL client library (libpq)

    找不到 libpq 这个库,根据你安装 PostgreSQL 的方式不同,可能 libpq 是另外打包的,看看你安装 PostgreSQL 的方式的相关说明。

    例如在 Ubuntu 下,要:

    sudo apt-get install postgresql libpq-dev
    
  • 第一个 Rails 作品,日语爱好者的社区 at February 09, 2015

    #2 楼 @shellfly 帖子少的时候把最新回复放首页比较好。

  • 第一个 Rails 作品,日语爱好者的社区 at February 09, 2015

    仲么看不到内容,注册可见?

  • Nginx + Unicorn 多个虚似主机一个是 Rails App, 另一些如果不是 Rails App 怎么处理 at February 09, 2015

    http://wiki.nginx.org/ServerBlockExample

  • 测试 Gem 的时候如何让 require 'path/filename' 优先载入项目文件? at February 09, 2015

    试试 ruby -Ilib test/test_xxx.rb

  • 有没有类似于 java 体系图的 Ruby 体系图? at February 08, 2015

  • SelfStore,数字内容创作者的在线商店 at February 07, 2015

    #81 楼 @bati9999 加油!

  • layout nil 无法生效? at February 04, 2015

    贴代码。

  • (知乎)好的客服系统对 App 的影响究竟有多大? at February 04, 2015

    那么,在哪里可以买到呢?

  • layout nil 无法生效? at February 04, 2015

    layout false

  • git 不能 push 问题 at February 03, 2015

    翻墙了没?

  • 用 Kindle 看技术书籍靠谱么? at February 03, 2015

    #19 楼 @ugoa 不要人身攻击和爆粗口。

  • 关于在 erb 文件中,注释的一个错误提示! at February 03, 2015

    .html.erb,先用 erb 进行处理,erb 不管 HTML 的注释标签,直接找 <%。

  • 关于在 erb 文件中,注释的一个错误提示! at February 03, 2015

    编辑器右上角有插入代码的按钮

    <!-- <%= form_for @event, :url=> {:controller=>'events', :action=>'create'} do |f| %> -->
    <%= form_for @event, url => events_path do |f| %>
      <!-- <%= render :partial=>'form', :locals=>{:f=>f} %> -->
      <%= f.label :name, "Name" %></br>
      <%= f.text_field :name %></br>
    
      <%= f.label :description, "description" %></br>
      <%= f.text_area :description %></br>
      <%= f.submit "create" %>
    <% end %>
    
  • render locals 有点诡异--关闭 at February 02, 2015

    #3 楼 @yangman_wenzhu 打少冒号之类。

  • render locals 有点诡异--关闭 at February 02, 2015

    f t 这样的变量名过几天你还记得什么意思吗?

  • render locals 有点诡异--关闭 at February 02, 2015

    t 是个 helper, http://apidock.com/rails/v4.1.8/ActionView/Helpers/TranslationHelper/t

    换别的名字。

  • [北京 / 远程] 墨刀 (MockingBot) 招聘 Rails 全栈工程师 at February 01, 2015

    #50 楼 @welbyan 楼主可以联系一下,写个客户故事。

  • 这播放器居然是用 HTML 5 做,被亮瞎了:( at February 01, 2015

    #2 楼 @mogodb http://caniuse.com/#search=video

    注意 IE 的国情和国际不符。好像优酷的 iPad 版是 HTML5 播放器。

  • 这播放器居然是用 HTML 5 做,被亮瞎了:( at February 01, 2015

    http://www.videojs.com/

  • ruby 内存占用 at January 31, 2015

    #6 楼 @hxh1246996371 因为内存不用就是浪费,但是用尽容易宕机,建议让内存占用在 50%~70% 之间。

    你可以用 ab 工具测试一下并发性能,小网站并发并不高,中等以上网站估计到时已经有经验了。

  • ruby 内存占用 at January 31, 2015

    #4 楼 @hxh1246996371 看这个设置 https://www.phusionpassenger.com/documentation/Users%20guide%20Nginx.html#PassengerMaxPoolSize

  • ruby 内存占用 at January 31, 2015

    和其他 Rails 项目来比不算大。设置数量要看你用什么部署的。

  • [译] Ruby concurrency explained at January 30, 2015

    排版可以去掉引用格式。

  • [转] Linux 云主机幽灵漏洞修复建议 (glibc gethostbyname 缓冲区溢出漏洞) at January 30, 2015

    我奇怪系统没提示重启,原来 Ubuntu 14.04 不受影响。

    https://www.linode.com/docs/security/security-patches/patching-glibc-for-the-ghost-vulnerability

  • Capistrano 部署 rails app 时怎么处理敏感文件? at January 30, 2015

    其实 Rails 默认配置已经给出提示:

    
    # As with config/secrets.yml, you never want to store sensitive information,
    # like your database password, in your source code. If your source code is
    # ever seen by anyone, they now have access to your database.
    #
    # Instead, provide the password as a unix environment variable when you boot
    # the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
    # for a full rundown on how to provide these environment variables in a
    # production deployment.
    #
    # On Heroku and other platform providers, you may have a full connection URL
    # available as an environment variable. For example:
    #
    #   DATABASE_URL="mysql2://myuser:mypass@localhost/somedatabase"
    #
    # You can use this database configuration with:
    #
    #   production:
    #     url: <%= ENV['DATABASE_URL'] %>
    #
    production:
      <<: *default
      database: app_production
      username: app
      password: <%= ENV['APP_DATABASE_PASSWORD'] %>
    
  • 每日的构建的部署问题 at January 30, 2015

    http://capistranorb.com/

  • 请教部署在 Passenger 上的 Rails 项目,如何重新定义日志格式?(已解决) at January 30, 2015

    搜 rails log_tags

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