Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
@ichord
VIP
NO. 818 / 2012-01-20

深圳
53 Topics / 755 Replies
70 Followers
4 Following
155 Favorites
Hi. I'm iChord
GitHub Public Repos
  • At.js 5281

    Add Github like mentions autocomplete to your application.

  • Caret.js 1054

    Get caret postion and offset from text field

  • jquery-atwho-rails 196

    At.js gem

  • sketch-divine-proportions 139

    Divine proportions toolkit for Sketch

  • angular-coffee-AMD-seed 58

    angular coffeescript requirejs

  • simditor-dropzone 53

    让 Simidtor 编辑器的『插入图片』支持拖拽的小插件

  • todc-bootstrap-sass 19

    google style for bootstrap.

  • sketch-practise 15

    my sketch practise collections

  • simple-hotkeys 3

    simple hotkeys.

  • RubyConf-China-2015-Lo... 3

    Logo and motion source files of Ruby Conf China 2015 at Shenzhen

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 求助, 有关 Bash Shell script at April 15, 2012

    既然是批处理,那么下一个指令会等上一个指令处理完成再执行。 判断第一个指令是否执行成功可以用这个方法: echo $? 欲知后事如何,请点我

  • 部署 ruby-china,执行 rake assets:precompile 报错. at April 15, 2012

    @yetone 为什么要设置为27018呢....默认的 27017不好么..不知道这样做会不会和其它的默认端口有冲突. 或者查看下 mongodb 的启动日志. . 查看 mongodb 官方文档的 connections和Security adn Authentication 的 Ports 部分. 截取如下:

    Ports Default TCP port numbers for MongoDB processes are as follows:

    Standalone mongod : 27017 mongos : 27017 shard server (mongod --shardsvr) : 27018 config server (mongod --configsvr) : 27019 web stats page for mongod : add 1000 to port number (28017, by default). Most stats pages in the HTTP UI are unavailable unless the --rest option is specified. To disable the "home" stats page use --nohttpinterface. (This port should be secured, if used, however, the information on the stats home page is read only regardless.) You can change the port number using the 'port' option when starting mongod.

  • 求助,部署 homeland 时,执行 rake assets:precompile 时,出错 at April 14, 2012

    貌似好似兩個月之前的 bug 了吧... google 一下。很快的. https://github.com/mongodb/mongo-ruby-driver/pull/92

  • 求助,部署 homeland 时,执行 rake assets:precompile 时,出错 at April 14, 2012

    貌似更新下 mongoid gem 的版本就可以了。 http://stackoverflow.com/questions/9401564/undefined-method-level-for-mongoid-logger-in-a-rails-app

  • 求助,部署 homeland 时,执行 rake assets:precompile 时,出错 at April 14, 2012

    你的错误信息应该用 ``` 包裹起来。像这样.:

    ** Invoke assets:precompile (first_time)
    ** Execute assets:precompile
    /usr/local/rvm/rubies/ruby-1.9.2-p318/bin/ruby /usr/local/rvm/gems/ruby-1.9.2-p318@global/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets --trace
    ** Invoke assets:precompile:all (first_time)
    ** Execute assets:precompile:all
    ** Invoke assets:precompile:primary (first_time)
    ** Invoke assets:environment (first_time)
    ** Execute assets:environment
    ** Invoke environment (first_time)
    ** Execute environment
    rake aborted!
    undefined method `level' for #<Mongoid::Logger:0x0000001ae86e20>
    
    
    
    
  • 来自欧洲,希望能认识些中国 rails 开发者 at April 14, 2012

    中文好棒啊....

  • [求指点迷津] 现在才投身 ruby,会不会太迟 at April 14, 2012

    先去实习嘛。如果要长跑,不急这一会。

  • rails 升级到 3.1.1 之后 js 就死活都不好使了 at April 13, 2012

    贴一下你的 application.js 估计是你的 application.js 这句 require_tree .。如果有,把它去掉应该就可以了。


    理由: yanzheng.js 加载了两次 asset piple 会加载 application.js(可配置) 里的 require * 注释。 require_tree . 的作用是加载 application.js 所在目录下所有的 js 文件。所以加载+1 javascript_include_tag 再加载了一次 +2

  • jQuery 动画的原理? at April 12, 2012

    其实不用插件... 估计用 .animate() 方法就足矣。

  • jQuery 动画的原理? at April 12, 2012

    每一组动画按下面那列橙色方块为标记..

  • jQuery 动画的原理? at April 12, 2012

    也許找找看有沒什麼類似於 jquery 動畫插件 的東西。 剛才用 chrome 自帶的 developer tools 觀察了下。 按时间轴分别变动元素的三个属性 top ,left 和 opacity.

  • 如何使用最新的 bootstrap css? at April 12, 2012

    可以使用这个 anilab/bootstrap-rails 然后如果要像ruby-china 那样有类似于 drop_breadcrumb helper 的话。 加上 @xdite 的 bootstrap-helper 就可以了。;)

  • Git pull 强制覆盖本地文件,命令是什么啊? at April 10, 2012

    git pull -Xtheirs

  • 关于多对多,中间表的名称 at April 09, 2012

    杜绝拼音阿! PS. http://ihower.tw/rails3/activerecord-relationships.html 这样会不会更好? lecture_teacherships

  • 给 Mongoid 加上 find_by_xxx 方法 at April 09, 2012

    method_missing 很慢的。

  • 关于酷站:我提交的两个网站,我把分类看错了。现在在 Ruby 社区里面,麻烦帮我改到国内商业网站 at April 09, 2012

    jieqoo.com 的 UI 做得很好阿!!

  • 你心中的高帅富程序员是如何的? at April 09, 2012

    @ruchee 求真相

  • 你心中的高帅富程序员是如何的? at April 09, 2012

    DHH 👍

  • 怎么开始写前台的代码? at April 09, 2012

    不要用生成工具,用框架把。

  • 翻译 Guides 时觉得特别的点 at April 09, 2012

    @tassandar 我昨天才开始翻译的。上官方文档看也是一样。估计官方文档的 bug.要不就是没更新。

  • 翻译 Guides 时觉得特别的点 at April 09, 2012

    @tassandar 嗯... https://launchpad.net/ 协作翻译系统就很好。不过有点扯远了. 现在用 gihub 管理也很好了。

  • 翻译 Guides 时觉得特别的点 at April 09, 2012

    @tassandar 那要看翻译的质量...

  • 翻译 Guides 时觉得特别的点 at April 09, 2012

    @tassandar 其实我觉得像 wiki 那样被大众在线编辑的会好很多。又或者像 copycopter 这样的。

  • 翻译 Guides 时觉得特别的点 at April 09, 2012

    @zhangyuan 不会吧。活生生的 v3.2.2 的文档啊。上官方网站也是这么写的。

    For finer-grained control, set this to false and implement local_request? in controllers to specify which requests should provide debugging information on errors.
    
    

    不过最新的代码的确是你说的那个方法

    # Override this method if you want to customize when detailed
    # exceptions must be shown. This method is only called when
    # consider_all_requests_local is false. By default, it returns
    # false, but someone may set it to `request.local?` so local
    # requests in production still shows the detailed exception pages.
    def show_detailed_exceptions?
      false
    end
    
    
  • 翻译 Guides 时觉得特别的点 at April 09, 2012

    oh.. BTW. It's funny.

    ♥ ☺ ♫✩★✔✖♞☢▲♛ϟ☀❥

  • [杭州] The Plant 招人 at April 06, 2012

    #15 楼 @lgn21st 心动多了.... 哈哈

  • [活动] 周三深圳 Ruby/Rails Meetup at April 06, 2012

    @hayeah 访问不了啊~~! 亲

  • @ 自動補全做了個 gem 包 :) at April 06, 2012

    @hlcfan 中文原来是可以的... 我刚才看了下,是用 coffeescript 重写的时候语法不熟悉...有个地方失效了..= =. 今天太晚了,明天修正。你也可以直接到 github 上报 issue. 的 ;)

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