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

[email protected]
深圳
182 Topics / 9132 Replies
727 Followers
0 Following
11 Favorites
中下水平 Rails 程序员
Reward
GitHub Public Repos
  • writings 940

    [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**

  • 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

  • rails-app 7

    A Rails project template lets me start new projects quickly.

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • Rspec 是在 Rails 目前用的最多的测试框架吗? at April 29, 2014

    顶楼列举的有些是测试工具而不是框架,是要和 Test::Unit 和 Rspec 搭配用的,所以只比较这两个。

    从 Ruby Conf China 2013 的现场举手投票来看,Rspec 大概占到了 9 成。不过我是 Rspec 反对者,认为这套 DSL 徒增复杂性,不如 Test::Unit 简单明了。

    写测试性价比高,推荐写够用的测试,但写多少是够有并没有标准,需要自己琢磨。

  • DHH: TDD is dead. Long live testing. at April 28, 2014

    #47 楼 @lilu

    If your TL;DR of my talk and post on TDD was "great, I don't have to write tests!", your comprehension skills are inadequate. Level up.

    https://twitter.com/dhh/status/459329011420647424

  • 如何实现论坛中 @ 用户的功能 at April 28, 2014

    #4 楼 @mosky 用户名限制了英文、数字还有杠,就没有空格问题了。

  • 终于也忍不住了 at April 28, 2014

    #1 楼 @yangjie6020 楼主心里一凉。

  • 如何实现论坛中 @ 用户的功能 at April 27, 2014

    套路:

    1. 用正则把正文的 @username 字符串提取出 username
    2. 查询提及的 username 对应的用户
    3. 为每个用户添加一条通知或记录
  • 有没有关于文章标签相关的 gem 包 at April 26, 2014

    https://www.ruby-toolbox.com/

  • 有哪些免费的 VPS 不错的? at April 25, 2014

    #18 楼 @algo31031 24 * 30 = 720 小时,还是说开机时间不等于运行时间?

  • 有哪些免费的 VPS 不错的? at April 25, 2014

    #15 楼 @raofeng 好像只有首个 instance 免费吧?

  • 多人开发,database.yml 怎么管理? at April 25, 2014

    类型不同怎么开发?

  • 为什么 Ruby China 论坛上一直让大家不让用 Windows 开发? at April 25, 2014

    只要能自己解决问题,我觉得 Windows 没什么不对。不过很多提问 Windows 问题的人,其实并不是很熟悉 Windows,如果问题没有被能解决 Windows 的人(很少)看到,问题只能挂在那里,那么用 Linux 和 Mac 的人,只能推荐他/她换系统了。

  • haml slim 之流真的好吗? at April 25, 2014

    好

  • 有什么能用的极简的论坛 / 小组? at April 24, 2014

    google group google plus 群组

  • Java 和 Ruby On Rails at April 23, 2014

    #18 楼 @ruby_sky 这是怎么个悬浮法

  • DHH: TDD is dead. Long live testing. at April 23, 2014

    估计有人会只看到 TDD is dead,忽略后半句。

  • rails 中 highstock.js 问题 at April 23, 2014

    Turbolinks

  • 在做一个练习,删除一条数据的时候总是找不到路由 at April 23, 2014

    #6 楼 @315046509 奥,跟我 1 楼一样的错误,应该是

    <%= link_to 'Delete',event_path(:id => event), :method => 'delete' %>
    
  • 在做一个练习,删除一条数据的时候总是找不到路由 at April 23, 2014

    #6 楼 @315046509 event_path 还需要参数 event_path(event)

  • 在做一个练习,删除一条数据的时候总是找不到路由 at April 22, 2014
    <%= link_to 'Delete', { :controller => 'events', :action => 'destroy', :id => event }, :method => 'delete' %>
    

    很久没写过这种格式的 url 参数了,用这个短格式

    <%= link_to 'Delete', event, :method => 'delete' %>
    
  • 在做一个练习,删除一条数据的时候总是找不到路由 at April 22, 2014

    HTTP 动作不对,加 method 参数:

    <%= link_to 'Delete', :controller => 'events', :action => 'destroy', :id => event, :method => 'delete' %>
    
  • 更新一下侧边栏 CNode 图片吧 at April 22, 2014

    #7 楼 @nevill 不是,估计你的登录 cookie 过期了。

  • Rails 3.2.17 下遇到的一个坑 at April 22, 2014

    Ruby 版本

  • 如何理解 Symbols & String 的差异 at April 22, 2014

    #6 楼 @cassiuschen 是的,不释放。

  • 如何理解 Symbols & String 的差异 at April 22, 2014

    我不明白有什么难理解的,Symbal 就是不会变的 String。

  • [已解决] 紧急求助,装不了 ubuntu 开不了 windows at April 22, 2014

    恩?怎么变成两性话题了?

  • [已解决] 部署完成后,访问网站无法加载 css 和 javascripts at April 22, 2014

    rake assets:precompile

  • 更新一下侧边栏 CNode 图片吧 at April 21, 2014

    #3 楼 @jiyinyiyong 搞掂

  • 关于 sprockets 中的 require 和 scss 中 @import 的一些疑问。 at April 21, 2014

    #3 楼 @bydmm 试一试?

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