Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
XiangPeng
@KoALa
VIP
NO. 3406 / 2012-08-25

[email protected]
浙江
3 Topics / 131 Replies
0 Followers
0 Following
138 Favorites
GitHub Public Repos
  • rails_file_server 2

    a rails http file api server using paperclip and grape

  • the-art-of-command-line 1

    Master the command line, in one page

  • thin 0

    A very fast & simple Ruby web server

  • webpack-howto 0

  • ai-edu 0

    AI education materials for Chinese students, teachers and IT professionals.

  • ruby-china-android 0

    Ruby China Android App via Turbolinks

  • centos_phantomjs_binary 0

  • awesome-android-ui 0

    A curated list of awesome Android UI/UX libraries

  • awesome-redux 0

    Awesome list of Redux examples and middlewares

  • xiangpeng.github.io 0

    my blog

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 你开始用 Vagrant + VMWare Fusion 了吗? at March 17, 2013

    #12 楼 @nouse 好吧,我可能理解不对。我以为 vagrant 是这么用的:在真正部署到生产环境之前,先用 vagrant+virtualbox 或者 vmware 在本地虚拟化一个和生产环境一样的环境配置,测试过了之后再部署到真正的生产环境...

  • 你开始用 Vagrant + VMWare Fusion 了吗? at March 16, 2013

    问个相关的问题哈,vagrant 文档中为啥说 vagrant 可以虚拟化开发环境,明明也可以虚拟化生产环境…

  • [更新] 不知不觉 Ruby China 也打起了广告. at March 14, 2013

    #20 楼 @andor_chen +1 我也想吐槽这个的...蓝色的广告背景显得很怪,可能白色背景会好点...

  • 今天小测了同学们一个基本概念 at February 26, 2013

    #26 楼 @jjym 3Q~

  • 今天小测了同学们一个基本概念 at February 26, 2013

    大家好,关于这个问题我也有点不明白...

    class A
      attr_accessor :b
      def initialize
         @b = 2
      end
      def test
         b
      end
    end
    
    a = A.new
    puts a.test
    

    为啥这时候 test 方法中的 b 就和 self.b 是一个值了呢?

  • 数据迁移修改字段 (mysql) 怎么修改? at February 25, 2013

    #4 楼 @topswim 我之前遇到这个问题很老土的把要放在一行的放到了 table 的一个 tr 里面,每个 td 放一个 f.xxx

  • 貌似 Rack 爆安全漏洞了 at February 09, 2013

    #15 楼 @luikore 为啥你啥都懂,好羡慕~~~

  • 你还在为过年回家没网如何查 rails api 而烦恼,rdoc 你值得拥有? at February 06, 2013

    Rails also comes with built-in help that you can generate using the rake command-line utility: http://guides.rubyonrails.org/getting_started.html#what-s-next

    Running rake doc:guides will put a full copy of the Rails Guides in the doc/guides folder of your application. Open doc/guides/index.html in your web browser to explore the Guides.

    Running rake doc:rails will put a full copy of the API documentation for Rails in the doc/api folder of your application. Open doc/api/index.html in your web browser to explore the API documentation.

  • 如何在 Rails development 模式下开启多线程并行处理 at February 04, 2013

    测试环境用 unicorn 就可以啦

  • 有没有好的工作流的 gem 或者别的 at January 31, 2013

    ruote http://ruote.rubyforge.org/

  • 如果使用 Rails 做项目,源码能保护起来吗? at January 28, 2013

    部署到虚拟机上,然后给虚拟机加个密码...

  • Rails 中设计数据库是不是可以设计成这样的。 at January 19, 2013

    http://guides.rubyonrails.org/association_basics.html#polymorphic-associations

  • 在类外使用 “@” 符号有什么作用呢? at January 15, 2013

    我表示只看到了 rMBP...

  • [地区不限] 2ViVe 招 Ruby On Rails 开发 - 可春节后到岗 - 薪水范围 10k-14k at January 11, 2013

    soho 这个条件太吸引人了啊~~~~~

  • 换了个头像,想用奥特曼的同学可以放心使用了。 at January 10, 2013

    亲,偶已经把奥特曼换掉很久了…

  • 我的屋子里有一只蝙蝠,不知道它冬天吃什么,会不会被饿死。 at December 17, 2012

    #44 楼 @yeerkunth 太残忍了,怪不得不变成妹纸回来报恩...

  • 怎么删除 Rails 里的已安装的 Gem 包? at December 17, 2012

    gem uninstall twitter-bootstrap-rails 这个搜索下就有了吧...

  • 请问谁用过 gem 'pdfkit'呢?wkhtmltopdf 出错了。 at December 12, 2012

    #3 楼 @pzgz 分页断行可以通过 css 来控制的,楼主给的那个链接里好像就有事例

  • 获得 RubyConf 台湾的纪念章两枚 at December 11, 2012

    那颗红宝石我好喜欢啊!

  • 请问谁用过 gem 'pdfkit'呢?wkhtmltopdf 出错了。 at December 11, 2012

    是在开发模式下吗?开发模式下单线程的 server 可能会不行哦,用 unicorn 试下。生产模式下一般都没问题的。 看下这个链接 https://github.com/pdfkit/PDFKit#troubleshooting 下的 Single thread issue 小节

  • 我们的本地 CI 服务器到了…… :P at December 11, 2012

    为啥做成火车的样纸...

  • [视频] RubyConfChina 2012 陈金洲 - "Beyond `rails server`" at December 03, 2012

    这位好欢乐啊,看得笑死了,哈哈!

  • 说说我的开发工具 Sublime Text 2 和对 Vim 的研究 at December 01, 2012

    #53 楼 @superbatironmans5 我也是...不过我一般都用 ZZ 保存退出~~

  • 看看人家怎么玩 Arduino at November 29, 2012

    cool...

  • rails_admin 中的表格插件 at November 28, 2012

    #5 楼 @zhaoguobin 恩,是呢,但是我想找的就是或查询或排序或过滤后前端展示结果的表格类插件...好看点、放到普通网页里面比较自然的、不要带着浓浓的像 extjs 里面那种风格的表格,最好做成 gem 的,不要自己写太多 css 的~~最好还能 ajax 局部刷新的...

  • rails_admin 中的表格插件 at November 28, 2012

    #1 楼 @huacnlee 3Q!因为我看到 github 上讲 WiceGrid does not use AJAX calls to reload itself, instead simple GET requests are used for this, nevertheless, all other page parameters are respected and preserved. 是不是 wice_grid 不支持 ajax 啊?而 rails admin 里面的好像可以局部刷新的...

    #2 楼 @allenwei 3Q! 我先去瞅瞅...

    #3 楼 @zhaoguobin meta_search 不是做查询用的吗,能做表格么?

  • RubyConfChina 2012 问卷调查数据汇总 at November 25, 2012

    #12 楼 @alvin2ye 看到温州 6 票我有点惊讶啊,琢磨着下届我也要去啊!!!大家可以交流交流哈,不过我在瑞安

  • 一群 Ruby 社区的人占领了旁边的如家酒店 at November 16, 2012

    虽然去不了,但是灰常期待会后的视频哦,一定要出哦...祝大会顺利!

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