Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
欲登高
@huopo125
会员
第 8596 位会员 / 2013-08-09

[email protected]
上海
13 篇帖子 / 127 条回帖
7 关注者
9 正在关注
370 收藏
GitHub Public Repos
More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 新版 MacBook 完全没风扇了 at 2015年03月10日

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

  • has_many through 的 uniq 设定 at 2015年03月09日

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

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

    :plus1:

  • 脑袋抽风给 model 的字段名用了 class at 2015年03月09日

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

  • Ruby for Rails 这本书是不是太老了? at 2015年03月09日

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

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

    #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 2015年03月06日

    建议将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 2015年03月06日

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

  • Ruby support in Firefox Developer Edition 38 at 2015年03月06日

    标题令我惊讶了... 🏫 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 2015年03月06日

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

  • 利用 GFW 屏蔽网站 at 2015年03月06日

    #5 楼 @peter :plus1:

  • devise 扩展问题 at 2015年03月06日

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

  • rails new LoadError at 2015年03月03日

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

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

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

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

    :plus1:

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

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

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

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

  • 一个简单的评论过滤系统的实现 at 2015年01月15日

    :plus1:

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

    :plus1:

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

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

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

    53333

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

    @darkbaby123 :plus1:

  • Rails 路由系统源码探索 at 2014年11月28日

    :plus1:

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

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

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

    :plus1: 学习

  • Rails 3 与 Rails 4 中 try 方法的不同 at 2014年11月20日

    😄 学习了

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

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

  • Rails 中利用 YAML 文件完成数据对接 at 2014年11月13日

    :plus1:

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

    顶一个

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