Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Newell
@zlx_star
VIP
NO. 2456 / 2012-06-07

杭州
71 Topics / 836 Replies
30 Followers
18 Following
34 Favorites
Ruby, Rust, .Net, 各种脚本爱好者
GitHub Public Repos
  • API-mock-server 25

    Full-Featured API Mock Server

  • useful_article 17

    the useful article

  • Gitlab-Hound 14

    Hound for Gitlab

  • qcloud-cos-sdk 8

    Ruby SDK for Qcloud COS

  • simple_form_bootstrap3 7

    Integration simple_form with bootstrap 3

  • tabletastic 3

    A smart table builder for Rails collections

  • raml-ruby-client-gener... 1

    Auto generate Ruby Client from Raml

  • love 1

    Website for our love

  • markdown 0

    Convert Markdown to HTML, with XSS protection

  • opentracing-ruby 0

    OpenTracing API for Ruby

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • ruby 代码写的 一陀了。。是不是应该反思啊~ at April 18, 2013

    这是一个 code review 的需求,推荐使用 http://chopapp.com/

  • 为什么一个页面保存到本地后就不能提交表单了? at April 18, 2013

    你可以使用 firebug 或者 chrome 的 develop tool 看看请求有没有发出去,然后决定如何解决

  • 又一个成熟行业的诞生,独立程序员和他们的捐客 at April 18, 2013

    有意思

  • github 主页推荐的 git ref at April 17, 2013

    感谢推荐,很不错的常用命令

  • 在看教程做第一个 blog 出现点问题,求帮助。 at April 17, 2013

    贴出你的 database.yml 看看

  • [杭州][2013年4月16日] Ruby Tuesday 活动召集 at April 16, 2013

    晕,看到有点晚了,求视频

  • 社区惊现 Top 100 ,偶然发现我也在其列。。 at April 16, 2013

    一个没注意,ruby-china 添加了这么有意思的功能。happy

  • 請 Linode 用戶注意,緊急情況。 at April 16, 2013

    哦去。怎么消除影响?linode 上面好像只能换张信用卡,不能取消吗?

  • 有没有那么一种工具,选择网页元素,马上显示所有作用于此元素的 CSS? at April 14, 2013

    或许你也想看看这个: csscan

  • 简单吐槽 at April 11, 2013

    电话一直是我的一块心病

  • 吐槽一下注释 at April 10, 2013

    我也不习惯写注释。 但是最近发现写 api 接口时如果加注释用来生成 api 文档更方便一点。

  • [结束] Rails Starter for China 6.体验 BDD 测试驱动开发,征集一下讲师 at April 10, 2013

    期待。

  • 想出征 ruby,求给点意见 at April 06, 2013

    just do it

  • 分享一些 AngularJS 的教学视频 at April 05, 2013

    thanks,准备研究 js。

  • 如何生成一个连续的数字作为 Model 的一列? at April 05, 2013

    #9 楼 @badboy 五年前用的是 ruby 多少版本?

  • 如何生成一个连续的数字作为 Model 的一列? at April 05, 2013

    #5 楼 @evil850209

    class Name < ActiveRecord::Base
      attr_accessible :blog
    
      before_validation :show_id
      after_validation :show_id
      before_save :show_id
      before_create :show_id
      after_create :show_id
      after_save :show_id
    
      private
      def show_id
        p self.id
      end
    end
    
    $ spring rails runner 'Name.create'
    nil
    nil
    nil
    nil
    4
    4
    

    按照 http://guides.rubyonrails.org/active_record_validations_callbacks.html#available-callbacks 的 callbacks 顺序,在 save 之后就生成了 id。包括 around_create 和 around_save 的后半段代码。

  • 有没有办法寄出一封 email 然后让对方在指定的时候收到?比如一年之后 at April 04, 2013

    #5 楼 @blacktulip 赞同

  • 如何生成一个连续的数字作为 Model 的一列? at April 04, 2013

    搞个 after_create :generate_number 来根据 id 生成 number。

  • 程序新手要不要学习 C at April 04, 2013

    #35 楼 @as181920 #37 楼 @kgen 赞同

  • 程序新手要不要学习 C at April 03, 2013

    #24 楼 @kenshin54 大道至简?最近在修炼?

  • 程序新手要不要学习 C at April 03, 2013

    #26 楼 @kgen 目前就在学习 html

  • 程序新手要不要学习 C at April 03, 2013

    #19 楼 @ruchee 温室吗?

  • 我的一天 at April 03, 2013

    就我个人而言,这个计划坚持三天就失败了,太具体了,而且每天都一样。

    高效工作,推荐番茄工作法。no reason, do it!

  • 程序新手要不要学习 C at April 02, 2013

    #12 楼 @luikore #14 楼 @skandhas 我也就带她入门而已,告诉她有那些东西。以后她喜欢朝那个方向走我就控制不了了。😄

  • 程序新手要不要学习 C at April 02, 2013

    #9 楼 @bhuztez 耶,我忽悠她学的,有共同语言一点,理想情况是她可以做一些程序相关的工作

  • 程序新手要不要学习 C at April 02, 2013

    #7 楼 @bhuztez 同意,我一个同学写 c++ 我是各种膜拜啊

  • 程序新手要不要学习 C at April 02, 2013

    #2 楼 @fleuria 是系统的学习吗?还有主要学某种语言

  • 程序新手要不要学习 C at April 02, 2013

    #1 楼 @bhuztez 亚历山大啊

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