Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
欲登高
@huopo125
Member
NO. 8596 / 2013-08-09

[email protected]
上海
13 Topics / 127 Replies
7 Followers
9 Following
370 Favorites
GitHub Public Repos
More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 新版 MacBook 完全没风扇了 at March 10, 2015

    这一款太轻便了,纯碎的写手工具,要是开个 IDE 开发和外接个显示器之类的,就不太好了吧。围观 👿

  • has_many through 的 uniq 设定 at March 09, 2015

    楼上正解,另外希望你belongs_to :cs修正一下 validates :name, uniqueness: { scope: :b_id,message: "name should not repeat per B object" }

  • 基于 Angular, Flask 以及 socket.io 写了个 Redis 的 Web 监控工具 at March 09, 2015

    :plus1:

  • 脑袋抽风给 model 的字段名用了 class at March 09, 2015

    😄 ,之前写过 send、config 字段,也是各种错误,呵呵

  • Ruby for Rails 这本书是不是太老了? at March 09, 2015

    Ruby 基础教程 + Rails 教程 + Guides,,,想深造的话就看 1 楼推荐的

  • 同样的代码,可以在终端中运行但是在 ST3 中却被报错,想请教下原因。另外求一些好用的 ST3 上 Ruby 的插件。 at March 06, 2015

    #15 楼 @hanyangwang 这个插件只是 sublime 下一些语言的命令行模式,和你直接在 irb 中操作是一样的,你可以通过https://packagecontrol.io/查找需要的插件

    SublimeREPL - run an interpreter inside ST2 (Clojure, CoffeeScript, F#, Groovy, Haskell, Lua, MozRepl, NodeJS, Python + virtualenv, R, Ruby, Scala...)

  • 如何限制文章的评论个数? at March 06, 2015

    建议将after_save改为after_create

    after_save runs both on create and update, but always after the more specific callbacks after_create and after_update, no matter the order in which the macro calls were executed.
    

    active_record_callbacks

  • 同样的代码,可以在终端中运行但是在 ST3 中却被报错,想请教下原因。另外求一些好用的 ST3 上 Ruby 的插件。 at March 06, 2015

    推荐你使用一个 sublime 插件:SublimeREPL

  • Ruby support in Firefox Developer Edition 38 at March 06, 2015

    标题令我惊讶了... 🏫 What is ruby? In short, ruby is an extra text, which is usually small, attached to the main text for indicating the pronunciation or meaning of the corresponding characters. This kind of annotation is widely used in Japanese publications. It is also common in Chinese for books for children, educational publications, and dictionaries.

  • 成为一名初级 / 中级 Ruby on Rails 程序员应该具备怎样的技能树 at March 06, 2015

    我是转到 Ruby 的,我的弯曲路线: Ruby=>Rails=>HTML/CSS/JS(basic)=>DataBase(mysql->mongodb)=>JS=>Deployment=>TDD #2 楼 @ithelloworld :plus1: 不错的推荐

  • 利用 GFW 屏蔽网站 at March 06, 2015

    #5 楼 @peter :plus1:

  • devise 扩展问题 at March 06, 2015

    希望可以帮到你 How-To:-Redirect-to-a-specific-page-when-the-user-can-not-be-authenticated

  • rails new LoadError at March 03, 2015

    rails 安装的有问题,gem uninstall rails卸载后重装一下试一试

  • [上海][2015年01月20日] 2015年 第一次月中聚会 技术聚会 at February 27, 2015

    @mingyuan0715 可否将你的,与我分享一下,谢谢! 👲

  • [上海][2015年02月10日] 年末聚会 at February 06, 2015

    :plus1:

  • 请问大家使用带有表情的富文本编辑框使用的都是哪些插件? at January 27, 2015

    #3 楼 @cn_boris 挺好的,就是不支持其他 IE10 以下版本

  • 请问大家使用带有表情的富文本编辑框使用的都是哪些插件? at January 27, 2015

    #1 楼 @flowerwrong 谢谢了,请问像雪球网和微博那样的编辑框,有没可推荐的?

  • 一个简单的评论过滤系统的实现 at January 15, 2015

    :plus1:

  • [上海][2015年01月20日] 2015年 第一次月中聚会 技术聚会 at January 12, 2015

    :plus1:

  • [上海][2014年12月20日] 上海及长三角年度聚会 (12 月 19 日 求借移动投影屏幕) at January 02, 2015

    希望演讲者们分享一下 PPT,谢谢

  • 乐享圣诞,喜迎新年抽奖活动(截止日期:2015.1.2) at January 01, 2015

    53333

  • Hack News 上一篇帖子,吐槽搞 Rails 多年后,发现工作越来越难找了 at December 02, 2014

    @darkbaby123 :plus1:

  • Rails 路由系统源码探索 at November 28, 2014

    :plus1:

  • [上海] 诚聘初级软件攻城师,提供新加坡工作机会 at November 27, 2014

    感觉不错,上海具体地址在哪里呢?

  • [上海][2014年12月20日] 上海及长三角年度聚会 (12 月 19 日 求借移动投影屏幕) at November 24, 2014

    :plus1: 学习

  • Rails 3 与 Rails 4 中 try 方法的不同 at November 20, 2014

    😄 学习了

  • add_runtime_dependency 跟 add_development_dependency 的疑惑 at November 13, 2014
    #常规的gem install 可安装以下形式声明的依赖包
    #add_runtime_dependency和add_dependency指的是同一个方法
    s.add_dependency "moo"
    #只有当开发环境或者运行测试用例时,才应该安装这些包,相当于Rails项目的Gemfile中一些辅助开发的Gem包声明
    s.add_development_dependency "moo"
    #以上这些依赖包,都可以通过bundle install来安装
    
  • 在 rails 中,自定义的 exception,放在哪比较好呢 at November 13, 2014

    自己用的库,应该放在 lib 下面,你可以在 lib 下面创建个 exception 文件夹用以区分

  • Rails 中利用 YAML 文件完成数据对接 at November 13, 2014

    :plus1:

  • [上海][2014年11月11日] 2014 年 11 月 技术聚会 at November 07, 2014

    顶一个

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