This is a guide for Ruby junior developers who have finished their basic trainging but do not know where to continue. It also aims to help them get ready for work quickly. Suggestions, ideas, and pull requests are welcome.
- Better Specs illustrates different patterns to write a readable and efficient test suite in RSpec.
- FactoryGirl Getting Started Guide is a good starting point in using factory in testing. This guide is very long, but you don't have to read through carefully. Less mistakes will be made once you grasp the essentials.
- (正體中文) Debugging Rails入門:五個必備技巧 tells five basic concepts for dugging a Rails application.
- 7 Patterns to Refactor Fat ActiveRecord Models offers various methods to refactor a model class following the idea of "fat model, skinny controller"
- The roles of the Gemfile explains why
Gemfile.lockshould be committed in your ruby project but not in gem development.
- Why Do They Say Rails Doesn't Scale? tells you the fundemental ideas of why people always make jokes that "Rails doesn't scals".
- Mass inserting data in Rails without killing your performance offers 4 options for mass insert in ActiveRecord without decreasing the performance.