rubyonrails

2 posts
Issue27

Lessons learned from the Ruby Refactoring Kata - Tennis Game

Refactoring mercilessly is a great learning technique to learn about what different parts of the code do. Don’t trust the initial tests completely. There are great chances they may not give you complete coverage.…

Issue16

How to write fast code in Ruby on Rails

Cache all the things. Throttle any operation that can’t be cached. rack-attack and rack-throttle can help throttle unwanted requests. Consciously minimize dependencies. They will turn into liabilities as projects grow.…