Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Hooopo
@hooopo
管理员
第 8 位会员 / 2011-10-28

[email protected]
nil
北京
160 篇帖子 / 3013 条回帖
360 关注者
0 正在关注
74 收藏
聪明的妖怪录下了唐僧的紧箍咒
打赏作者
GitHub Public Repos
  • oh-my-github-circles 47

    GitHub User Circle Generator Using GitHub Actions

  • hackernews-insight 21

    Hackernews Insight using TiDB Cloud

  • repo-track-pipeline 6

    🔄 A flexible open-source data pipeline for seamlessly syncing data from any repository to your da...

  • oh-my-github-pipeline 6

    🔄 A flexible open-source data pipeline for seamlessly syncing data from any github user to your d...

  • chatgpt-xiaoai 3

    小爱音箱集成LLM,SaaS 服务

  • repo-contributor-circles 1

    GitHub repo contributor circles generator.

  • ossinsight-x 1

    Automatically post trending repos to Twitter every day.

  • mi-service 1

    XiaoMi Cloud Service for mi.com

  • hooopo 0

  • streamlit-echarts-demo 0

    Demo for Streamlit ECharts component

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • Rails3 Helper 默认全加载 at 2012年08月17日

    以前不是这样的....!

  • 动态地为菜单导航加上 active,大家是怎么处理的? at 2012年08月16日

    #11 楼 @help5305fff #10 楼 @HungYuHei #5 楼 @edokeh

    http://rubylution.herokuapp.com/topics/25

  • 源码中 ActiveRelation::Base 的 all 方法 (?) 定义在哪里??? at 2012年08月16日

    真的没看懂你在说什么...

  • 做个小调查,读过 Rails 源码的举一下手。 at 2012年08月16日

    #17 楼 @ery 遇到这种情况还是人去看方便,工具就不灵了:-)

    belongs to 是和关联相关的: https://github.com/rails/rails/blob/3-2-stable/activerecord/lib/active_record/associations.rb

    在这里找到关联里和 belongs to 相关的: https://github.com/rails/rails/blob/3-2-stable/activerecord/lib/active_record/associations.rb#L132 https://github.com/rails/rails/blob/3-2-stable/activerecord/lib/active_record/associations.rb#L118

    然后找对应的 builder: https://github.com/rails/rails/blob/3-2-stable/activerecord/lib/active_record/associations/builder/belongs_to.rb#L13

  • 请问这两个的区别是什么? at 2012年08月15日

    #7 楼 @jjym 是的

  • 有人有想做 codeschool 中文版的想法么? at 2012年08月15日

    什么算高质量啊?感觉最受欢迎的内容还是 demo 类

  • 请问这两个的区别是什么? at 2012年08月15日

    #5 楼 @jjym 最左前缀,对单个的 user id 有效

  • 有人觉得 Ruby 的语法乱吗? at 2012年08月15日

    #12 楼 @nevernet 我帮你编辑了一下..

  • 有人觉得 Ruby 的语法乱吗? at 2012年08月15日

    又有来砸场子的了

  • 想买一本关于 Ruby 基础的书 at 2012年08月15日

    http://ruby-china.org/topics/2381

  • 有没有办法可以将目前的数据结构导出成一个 Migration 文件 at 2012年08月15日

    #9 楼 @ashchan rebase migration...

  • 想买一本关于 Ruby 基础的书 at 2012年08月15日

    这是一本又基础又深入的书.............

  • App.net 另一种模式的互联网 at 2012年08月14日

    看成了 Asp.net

  • 有没有办法可以将目前的数据结构导出成一个 Migration 文件 at 2012年08月14日

    .

  • 有没有办法可以将目前的数据结构导出成一个 Migration 文件 at 2012年08月14日

    就是 rake db:schema:load

  • PEP 302 是什么? at 2012年08月13日

    #13 楼 @bhuztez Ruby 里的 namespace 是自己管理的,所以可能存在冲突,最近还看到这里有一个帖子就是说的 namespace 冲突的问题

  • PEP 302 是什么? at 2012年08月13日

    #11 楼 @bhuztez Ruby 里的require/load很简单,就是把文件加载到环境里。

    require "file_path" 相当于下面的伪代码:

    file_content = File.read("file_path")
    eval(file_content)
    
  • PEP 302 是什么? at 2012年08月13日

    #1 楼 @Saito #2 楼 @eddie 是的:-) https://twitter.com/tenderlove/status/232865210636070912

  • PEP 302 是什么? at 2012年08月13日

    #7 楼 @bhuztez 讲讲其他的应用哇

  • PEP 302 是什么? at 2012年08月13日

    #5 楼 @bhuztez 我貌似看明白一点儿 说是可以从 zip 文件里 import

  • PEP 302 是什么? at 2012年08月13日

    #3 楼 @bhuztez 就是来问你的呀.............

  • 大家说说曾遇到过的 rails 的坑与相关 tips 吧 at 2012年08月13日

    #4 楼 @ywencn what?

  • 大家说说曾遇到过的 rails 的坑与相关 tips 吧 at 2012年08月13日

    #5 楼 @zhangyuan dev 环境配置里有:config.whiny_nils = true 是为了 FailFast。生产环境关闭了是为了性能...

  • 大家说说曾遇到过的 rails 的坑与相关 tips 吧 at 2012年08月13日

    http://greyblake.com/blog/2012/08/10/unexpected-ruby-behaviour/

  • 项目中如果用到了 mongodb,大家会用 Mongoid 吗? at 2012年08月12日
    The philosophy of Mongoid is to provide a familiar API to Ruby developers who have been using Active Record or Data Mapper, while leveraging the power of MongoDB's schemaless and performant document-based design, dynamic queries, and atomic modifier operations.
    
  • 新手使用 Rails 开发网站 at 2012年08月11日

    1, web 应用相关的插件多,比如 omniauth、acts_as_taggable、acts_as_votable, acts_as_commentable、acts_as_likable 之类的插件。

    2.适合,只要你会写 css、html 和 rails 3.不会

    请问。RAILS3 适合我吗
    

    不适合,看你问的问题应该还没学过,,,还是用你最熟悉的做吧!

  • 折腾 1 天, Sinatra 终于在板子上跑起来了 at 2012年08月11日

    #6 楼 @jinleileiking https://github.com/macournoyer/tinyrb 这个东西怎么样

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