└── README.md /README.md: -------------------------------------------------------------------------------- 1 | ## Ruby & Rails 学习资源 2 | 3 | * [how-to-install-xcode-homebrew-git-rvm-ruby-on-mac](http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/) 4 | * [Setup Ruby On Rails on Mac OS X 10.10 Yosemite](https://gorails.com/setup/osx/10.10-yosemite) 5 | * [20分钟体验 Ruby](https://www.ruby-lang.org/zh_cn/documentation/quickstart/) 6 | * [在浏览器上试用 Ruby (英文)](http://tryruby.org/levels/1/challenges/0) 7 | * [Ruby China wiki](https://ruby-china.org/wiki) 8 | * [Ruby API 文档](http://ruby-doc.org/core-2.2.0/) 9 | * [Rails API 文档](http://api.rubyonrails.org/) 10 | * [Rails Guide 中文版](http://guides.ruby-china.org/) 11 | * [RailsCast](http://railscasts.com/) 12 | * [Ruby on Rails Tutorial](https://www.railstutorial.org/book/frontmatter) 13 | * [Rails 实践](http://rails-practice.com/) 14 | * [Ruby 正则表达式在线编辑器](http://rubular.com/) 15 | * [在线 YAML 解析器](Online YAML Parser) 16 | * [Rspec](http://rspec.info/) 17 | * [轻量级 web 框架 Sinatra](http://www.sinatrarb.com/intro.html) 18 | * [Yaml Cookbook](http://www.yaml.org/YAML_for_ruby.html) 19 | * [RubyMotion 使用 Ruby 开发 iOS, Android 以及 OS X 原生应用](http://www.rubymotion.com/cn/) 20 | * [Ruby Hacking Guide](http://ruby-hacking-guide.github.io/) 21 | 22 | ## 好文共分享 23 | 24 | * [改善 Rails 应用性能的十点建议](http://www.nascenia.com/10-tips-to-boost-up-performance-of-your-ruby-on-rails-application/) 25 | * [Rails 中的事务](http://markdaggett.com/blog/2011/12/01/transactions-in-rails/) 26 | * [Rspec 指南](http://blog.davidchelimsky.net/blog/2007/05/14/an-introduction-to-rspec-part-i/) 27 | * [Ruby 与多态](Polymorphism and Ruby) 28 | * [常见的10个 Rails 编程错误](http://www.toptal.com/ruby-on-rails/top-10-mistakes-that-rails-programmers-make) 29 | * [对比Ruby和Python的垃圾回收](http://blog.jobbole.com/60900/) 30 | * [Ruby Web服务器](http://insights.thoughtworkers.org/ruby-web-server/) 31 | * [可伸缩的高性能 Rails 应用程序开发和部署实践](http://www.ibm.com/developerworks/cn/web/1003_yekai_railsarch/) 32 | * [为什么我们开发的Raptor比Unicorn快4倍,比Puma,Torquebox快2倍](http://ohcoder.com/blog/2014/11/11/raptor-part-1/) 33 | * [Rails Session 是如何工作的](http://www.justinweiss.com/articles/how-rails-sessions-work//) 34 | * [机器学习其实比你想的更简单](http://blog.jobbole.com/53546/) 35 | * [Why You Should Be Excited About Garbage Collection in Ruby 2.0](http://patshaughnessy.net/2012/3/23/why-you-should-be-excited-about-garbage-collection-in-ruby-2-0) 36 | * [Implementing Lazy Enumerables in Ruby](http://www.sitepoint.com/implementing-lazy-enumerables-in-ruby/) 37 | * [Rails Mass Assignment](http://code.tutsplus.com/tutorials/mass-assignment-rails-and-you--net-31695) 38 | * [Intermediate Rails: Understanding Models, Views and Controllers](http://betterexplained.com/articles/intermediate-rails-understanding-models-views-and-controllers/) 39 | * [A Tour of Rails’ jQuery UJS](https://robots.thoughtbot.com/a-tour-of-rails-jquery-ujs) 40 | * [Better Hash Injection using each_with_object](http://technology.customink.com/blog/2014/10/14/better-hash-injection-using-each-with-object/) 41 | 42 | ## 书籍推荐 43 | 44 | 由于 ruby 和 rails 的版本迭代都很快,这就导致很多出版的 ruby 书籍过了几年都严重落伍,所以一定要看要买最新版的。 45 | 46 | ![Ruby编程语言](http://img6.douban.com/lpic/s11352335.jpg) 47 | 48 | 本书由 ruby 作者参与撰写,入门必读书籍! 49 | 50 | ___ 51 | 52 | ![Ruby元编程](https://img3.doubanio.com/lpic/s28259406.jpg) 53 | 54 | Ruby 进阶必读书,强烈推荐!不过一定要买最新版(第二版),第一版使用的 ruby 和 rails 版本太老了。此书不适合 ruby 新手,需要有一定 ruby 基础。 55 | 56 | ___ 57 | 58 | ![ruby设计模式](http://img3.douban.com/lpic/s3407353.jpg) 59 | 60 | Ruby 作为一种纯粹的面向对象编程语言,掌握设计模式是非常有必要的。 61 | 62 | ___ 63 | 64 | ![重构(ruby版)](http://img6.douban.com/lpic/s27965182.jpg) 65 | 66 | 重构是很经典的一本书,原版是根据 Java 写的,ruby 和 Java 有很大的不同,它是很灵活的一门语言,不同的人写出的 ruby 代码差异很大,如果你对遗留代码头疼不已,如果你想你的ruby团队更好的协同工作,如果你想提高你的代码质量,此书必读啊! 67 | 68 | ## 编辑器推荐 69 | 70 | ![Sublime Text](https://d13yacurqjgara.cloudfront.net/users/10903/screenshots/1027361/sublime.png) 71 | 72 | [Sublime Text](http://www.sublimetext.com/) 的优点: 73 | 74 | 1. 免费 75 | 2. 跨平台,windows,linux,mac 通吃(配置文件和插件包上传到git,换电脑也不用担心) 76 | 3. 界面干净清爽 77 | 4. 插件丰富,自由配置 78 | 6. 支持 vim 模式,vim 党平稳过渡 79 | 80 | Sublime 使用指南: 81 | 82 | * [A Quick Guide to Sublime Text](A Quick Guide to Sublime Text) 83 | * [Sublime Text 2 入门及技巧](http://lucifr.com/2011/08/31/sublime-text-2-tricks-and-tips/) 84 | * [Sublime Text 2 实用快捷键[Mac OS X]](http://lucifr.com/2011/09/10/sublime-text-2-useful-shortcuts/) 85 | * [The Best Plugins for Sublime Text](http://ipestov.com/the-best-plugins-for-sublime-text/) 86 | * [Ctags On OSX](http://gmarik.info/blog/2010/10/08/ctags-on-OSX) (Sublime 本身没有完善的代码跳转功能,需要借助于插件 Ctags) 87 | 88 | ## 优秀社区推荐 89 | 90 | [Ruby China](https://ruby-china.org/) --------------------------------------------------------------------------------