Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Peter
@Peter
VIP
NO. 1553 / 2012-03-23

长沙
107 Topics / 1482 Replies
39 Followers
0 Following
322 Favorites
Reward
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 会员填写资料,写成一步一步完成的效果! at August 24, 2012

    #3 楼 @help5305fff 这个方法不错

  • 这个论坛是什么主机?速度不错啊。 at August 24, 2012

    小霸王,还送超级玛丽的,亲

  • 一个基于 ruby-china 源代码的半成品项目 at August 17, 2012

    @kevinhua 楼主既然都要重新开始了,建议把源码放出来,教教我这类初学者,怎么做界面。

  • appfog 真给力呀 at August 14, 2012

    @firsthym 如果我只改动一小段代码却要将整个网站重新上传一下,这实在是很笨的方法。

    没有实现永久存储是官方说的,所以永久存储的定义也是他们做的。可能是参考了 openshift 的定义吧,openshift 有个目录是有永久存储功能的,直接 ln -s 到网站目录下就可以存 attachments 之类的东西了。

    phpfog 就可以用 git, 不知道他们怎么想的。

  • appfog 真给力呀 at August 13, 2012

    不支持 git, 不支持永久存储

  • 做了一个自动将字符转成 utf8 编码的 gem at August 13, 2012

    这个不错,编码一直是个问题。

  • 为什么程序员不擅长评估开发时间? at August 10, 2012

    @Jijin 哇,这么帅的 Markdown!赞!

  • 为什么程序员不擅长评估开发时间? at August 10, 2012

    @Jijin 哇,这么帅的 Markdown!赞!

  • 为什么程序员不擅长评估开发时间? at August 10, 2012

    @Jijin 哇,这么帅的 Markdown!赞!

  • 为什么程序员不擅长评估开发时间? at August 10, 2012

    @Jijin 哇,这么帅的 Markdown!赞!

  • 为什么程序员不擅长评估开发时间? at August 10, 2012

    @Jijin 表格的 Markdown 怎么写的,很漂亮。

  • TextMate 开源了 at August 10, 2012

    30 Day Trial -> TextMate 1.5.11 (r1635) TextMate 2 at GitHub

    也就是说老的不变,新版本 2 开源,自己用随便,商用请联系作者

    把blog贴过来吧:

    Today I am happy to announce that you can find the source for TextMate 2 on GitHub.

    I’ve always wanted to allow end-users to tinker with their environment, my ability to do this is what got me excited about programming in the first place, and it is why I created the bundles concept, but there are limits to how much a bundle can do, and with the still growing user base, I think the best move forward is to open source the program.

    The choice of license is GPL 3. This is partly to avoid a closed source fork and partly because the hacker in me wants all software to be free (as in speech), so in a time where our platform vendor is taking steps to limit our freedom, this is my small attempt of countering such trend.

    I am also a pragmatist and realize that parts of the TextMate code base is useful for other (non-free) applications, so I may later move to a less restrictive license, as is currently the case with the bundles. For now, please get in touch with us if there are subsets of the code base you wish to use for non-free software, and we might be able to work something out.

    Anything related to the code base, including contributions, can be discussed at the textmate-dev list or ##textmate on freenode.net. Pull requests can be sent via GitHub but if you plan to make larger changes, it might be good to discuss them first if you want to ensure that we are interested in accepting a pull request for such change or simply want advice on how to go about it.

  • TextMate 开源了 at August 09, 2012

    怎么主页没有变化,还是写着 30 天试用

  • Moutain Lion 下安装 Ruby 1.9.3 at August 08, 2012

    JewelryBox + 1

  • Rails 下有什么比较好的博客框架嘛? at August 08, 2012

    Otcopress + heroku = http://blog.neten.de

  • 各位 Vimer 你的 <Leader> 键映射成哪个了? at August 03, 2012

    ;

  • 考虑把 ruby-china 改装成 mountable app at July 30, 2012

    怎么没有继续了,github 上也是 四个月前

  • 一个 mongoid_tree 一个 mongoid-tree at July 30, 2012

    mongoid-tree mongoid (~> 3.0)

    mongoid_tree I’m about to upgade mongoid_tree to support Mongoid 2.0.0.rc.1.

  • 新功能发布公告,同时收集 Ruby 开发小贴士 at July 29, 2012

    mark, up, 顶,收藏,赞

  • 发布了 smart-time-ago,欢迎大家试用,提意见,贡献代码。:D at July 27, 2012

    @yedingding ruby-china 的时间在 hover 的时候也可以看,我才知道,不过这样已经很好了。

  • 发布了 smart-time-ago,欢迎大家试用,提意见,贡献代码。:D at July 27, 2012

    @poshboytl @yedingding @huacnlee 我喜欢加收藏了

    我有个小建议,这个功能虽然漂亮,但用户不一定都买帐。

    我本人作为一个程序员,有时候也很难体会用户细腻的小心思,心想这么贴心的功能我都实现了,多帅!

    有人却说,我就想知道那个人什么时候回的帖子,如果半夜二点还不睡觉,明天我就关心关心他,结果一看是 8 个小时前,或一天前,这些信息要么我还要算一下,要么对我根本没有用。

    我想想也有道理,能不能把时间做成一个锚点链接,默认是几分钟前,几天前,但如果点击一下可以显示年月日,时分秒,这样可能更帅!

  • 给此节点添点内容,以前画的插画 at July 27, 2012

    赞!

  • 用了 ruby-china 的源码, 怎么跟着升级 at July 26, 2012

    网上找了一下, def email=(val) 应该就是 setter 的作用,也就是说用户注册给 email 赋值的时候,这个函数会提前把email_md5先赋值了。

    我奇怪的是,为什么email_md5是空的,这个字段文件开头也是定义过了的。

  • 用了 ruby-china 的源码, 怎么跟着升级 at July 26, 2012

    谢谢 @huacnlee 回复,我是把所有用户都删除了再注册新用户来试的,看 4 楼的链接,很明显是那个 md5 出了问题,我如果直接把生成 md5 的代码放在 users_helper.rb 里面,头像就能正常显示。

    请问这个函数是不是用户一登录就会调用啊?

    def email=(val)
    。。。
    end
    
  • 用了 ruby-china 的源码, 怎么跟着升级 at July 26, 2012
    def email=(val)
      self.email_md5 = Digest::MD5.hexdigest(val || "")
      self[:email] = val
    end
    

    最后找到问题,似乎是 email_md5 没有值,上面那个函数在 app/models/user.rb 里面,我现在对这种跟 C++ 很大出入的函数还是有点头大,不知道 @huacnlee 能不能讲解一下,谢谢。

  • 用了 ruby-china 的源码, 怎么跟着升级 at July 26, 2012

    @huacnlee 昨天按你的教程把代码版本跟上来了,但是个人资料页(http://localhost:3000/account/edit)的头像不能正常显示了,我看了一下图像的链接是: http://gravatar.com/avatar/.png?s=120&d=404

    请问这个问题我要怎么改正?谢谢

  • 新发现的 ruby-china 的 bug at July 23, 2012

    还是人肉测试厉害,这个 bug 估计 Rspec 写不出来

  • 我擦,昨天和今天都无法注册 at July 23, 2012

    @fsword 能把 ppt 发上来吗,我一直都是人肉测试的

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