Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Terry Tai
@poshboytl
VIP
NO. 4 / 2011-10-28

成都
72 Topics / 775 Replies
145 Followers
7 Following
51 Favorites
写代码为生,并以此为乐...
GitHub Public Repos
  • terrytai.me 9

  • workanywhere 4

  • omakub 2

    Opinionated Ubuntu Setup

  • nevermore_without_blac... 1

    Remove the blockchain part for Nevermore project: https://github.com/janx/nevermore

  • ether_workshop_demo 1

  • btcd 0

    An alternative full node bitcoin implementation written in Go (golang)

  • GPTs 0

    leaked prompts of GPTs

  • rime-setting 0

    rime 输入法配置

  • distill-cli 0

  • small 0

    A blog system like a Beast!

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 我们的产品上线啦 -- pragmatic.ly at June 07, 2012

    #10 楼 @zhex nice catch.. 正在做,以后会有更好的方式。上传图的问题应该是 墙...我们用的 S3..

  • 我们的产品上线啦 -- pragmatic.ly at June 07, 2012

    #11 楼 @miclle 恩,那个应该是 chrome desktop notification... 正在处理 :) 非常感谢...

  • 我们的产品上线啦 -- pragmatic.ly at June 07, 2012

    #6 楼 @miclle 能给一下你的系统信息吗?

  • 我们的产品上线啦 -- pragmatic.ly at June 07, 2012

    #6 楼 非常感谢 @miclle, 马上修改.. cc @beenhero

  • 我们的产品上线啦 -- pragmatic.ly at June 07, 2012

    #2 楼 @huacnlee 是的.. 我们会有手机 app 的.... :D

  • Code 2 Themes 页面,很帅气 at June 07, 2012

    不过似乎 codea2 写 rails 不怎么样啊.... 具体有没有人尝试过?

  • [成都] 超有爱教育科技招聘 Rails 大牛 at June 07, 2012

    哟喂...咱们成都的....看起来很酷...希望有机会能拜访一下 :D

  • 有人用 Evernote 整合 Markdown 吗? at June 05, 2012

    我已经成功被 @lgn21st 忽悠... 从 Evernote 转向 Voodoo Pad... 的确不错...非常好用...配合 dropbox 同步,非常爽...

  • 消失了半年,我又重回 ruby 社区啦! at June 05, 2012

    u r the man :D

  • RSpec 限制用户行为 一小段测试控制器代码 讨论 at June 05, 2012

    #2 楼 @Juanito 哈哈~原来如此... 不过呢,我个人觉得...你既然写了 expect,那么其它的就一定应该起作用。 当然,前提是你信任 Rails :)

    如果你信任 rails,你要做的只是确保 :authorize_admin! 本身的行为是正确的就行了。

    但是你的做法也没有不对啦,你可以验证你的 expect 里的内容没有写错。

    Great..

  • RSpec 限制用户行为 一小段测试控制器代码 讨论 at June 05, 2012

    我觉得这个不用测,你这个实际上有点测试 before_filter 的味道了。 假如你的代码是这样。

    before_filter :admin_required
    

    你要测试的是 admin_required 而不是测试 before_filter 是否对每个 action 都起作用了

  • 问个小白问题,在 view 中,如何 render 其他的 action 内容呢? at June 03, 2012

    #17 楼 @bhuztez 好给力的行为艺术.... :D

  • 问个小白问题,在 view 中,如何 render 其他的 action 内容呢? at June 03, 2012

    #3 楼 @lukefan jquery 去 get 另外一个 action 吗?那你得拿数据用 js 来渲染啊...

  • 问个小白问题,在 view 中,如何 render 其他的 action 内容呢? at June 03, 2012

    朋友这些都是 guide 里写的很清楚的啊... render :edit render :action => :edit render 'edit' render 'edit.html.erb' render :action => 'edit' render :action => 'edit.html.erb' render 'books/edit' render 'books/edit.html.erb' render :template => 'books/edit' render :template => 'books/edit.html.erb' render '/path/to/rails/app/views/books/edit' render '/path/to/rails/app/views/books/edit.html.erb' render :file => '/path/to/rails/app/views/books/edit' render :file => '/path/to/rails/app/views/books/edit.html.erb'

  • RVM 出的 Ruby 补丁包 at June 03, 2012

    身边的人基本都投 rbenv 了。。。就我还坚持用 rvm 呢... :D

  • 问个小白问题,在 view 中,如何 render 其他的 action 内容呢? at June 03, 2012

    怎么会需要在 view 里面去 render action? 这么做是不对的.... 楼主需要重新设计....

  • Ruby in China 和 Ruby-China 都处于发展阶段,我们仍需努力 at June 03, 2012

    #5 楼 @kevinhua 你问问题本来就是一种对社区的索取,索取的时候态度最好能温和一些。 别人没答到你要的点子,这个有很多可能。他能力有问题,他没认真读,他不想答到点子,你自己没理解.... 无论哪种情况,别人回答你就是一种帮助,你作为提问者至少应该做到态度谦和。

    即使别人答得不好,你可以当没看到,或者纠正别人(态度要温和)。 哪里有拜托于人 还挑三拣四的? 你即使要给这部分人提意见也应该以一种温和的态度,事后来说...(你现在的帖子就是事后,对的。但是态度不够温和,所以我不觉得有几个人能听进去。)

    还有提问,一定是要先经过思考和查阅(搜索),不然就是对别人时间的不尊重...

  • Ruby in China 和 Ruby-China 都处于发展阶段,我们仍需努力 at June 02, 2012

    "社区的作用就是帮人减少阅读文档的时间,如果都是看文档,哪还有社区的必要吗?"// 我倒不是觉得社区是这个目的... 很多问题是文档不能解决或者不涵盖的.... 先想先查再问在我看来是对的... 至于别人对你态度你觉得不好,那你需要思考,他是对谁都这样,还是对你这样?然后你应该想想为什么他对你这样?只是他的问题吗?

  • Rails web server 性能哪个比较好? at June 02, 2012

    puma..... :D http://puma.io/

  • 最小的 Rails app at June 01, 2012

    #3 楼 @hooopo 忙了段时间果然成奥特曼了... 那就让他沉掉吧,.... :p

  • 最小的 Rails app at June 01, 2012

    #1 楼 @hooopo oh.....是吗?晕~~~ 我 out 了...

  • Railscasts-China 第一次收到他人贡献,感谢 @hhuai at June 01, 2012

    #15 楼 @happypeter That's pretty awesome man.... Your video's quality is really good. Let me know if you wanna do anything for railscasts-china, looking forward.. :)

  • Railscasts-China 第一次收到他人贡献,感谢 @hhuai at May 30, 2012

    #4 楼 @huacnlee 关于分辨率我已经给作者说过了.... 希望大家如果以后想贡献,可以把分辨率搞高一些.... :)

  • Railscasts-China 第一次收到他人贡献,感谢 @hhuai at May 30, 2012

    当然个人建议如果还有人愿意贡献的话,分辨率要录高一些.... 这个有点太小了... :P

  • 第一期 Railscasts-china live show 视频 with @huacnlee (第二期也已发布) at May 26, 2012

    #52 楼 @kxllen 对我来讲是 2:2:1 因为我后期制作太烂以至于没怎么做... 其实正常情况 是 1:1:2.5 :p

  • Is Node.js Better? at May 24, 2012

    #12 楼 @hooopo #18 楼 @fsword http://blog.kghost.info/index.php/2011/10/callcc-and-node-js/ 不同的声音... :D

  • 第一期 Railscasts-china live show 视频 with @huacnlee (第二期也已发布) at May 23, 2012

    #50 楼 @kxllen 至少需要 3 天的样子.... :)

  • 第一期 Railscasts-china live show 视频 with @huacnlee (第二期也已发布) at May 23, 2012

    #45 楼 @ghoulr 恩?我用 itunes 在电脑上下载是对的... 你的是什么错误?

  • 第一期 Railscasts-china live show 视频 with @huacnlee (第二期也已发布) at May 22, 2012

    第二期发布了: http://railscasts-china.com/episodes/11-live-show-with-huacnlee-2

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