Skip to content

Instantly share code, notes, and snippets.

@harlow
Last active December 25, 2015 03:38
Show Gist options
  • Select an option

  • Save harlow/9183531 to your computer and use it in GitHub Desktop.

Select an option

Save harlow/9183531 to your computer and use it in GitHub Desktop.
Valuable reading for Ruby engineers

Recommended Reading

Apprenticeship Patterns http://www.amazon.com/Apprenticeship-Patterns-Guidance-Aspiring-Craftsman/dp/0596518382

Practical Object Oriented Design w/ Ruby http://www.amazon.com/Practical-Object-Oriented-Design-Ruby-Addison-Wesley/dp/0321721330

Clean Code http://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882

Growing Object Oriented Software Guided by Tests (I haven't read this yet but have heard from lots of people this is awesome) http://www.amazon.com/Growing-Object-Oriented-Software-Guided-Tests/dp/0321503627

Ruby Science https://learn.thoughtbot.com/books/13-ruby-science

Refactoring and Testing

7 Patterns to Refactor Fat ActiveRecord Models - Code Climate Blog http://blog.codeclimate.com/blog/2012/10/17/7-ways-to-decompose-fat-activerecord-models/

Rails Conf 2013 The Magic Tricks of Testing - Sandi Metz https://www.youtube.com/watch?v=URSWYvyc42M

Why You Don't Get Mock Objects - Ruby Conf talk on mocking vs stubbing http://www.confreaks.com/videos/659-rubyconf2011-why-you-don-t-get-mock-objects

Therapeutic refactoring - Katrina Owen http://www.confreaks.com/videos/659-rubyconf2011-why-you-don-t-get-mock-objects

Blog posts

Lots of resources in Wiki: (General Techniques, and Refactoring and Testing are good sections to become familiar with) https://hoteltonight.atlassian.net/wiki/display/EP/Ruby+and+Rails

How we test Rails applications: http://robots.thoughtbot.com/how-we-test-rails-applications

4 phase test: http://robots.thoughtbot.com/four-phase-test

Testing style guide: https://github.com/thoughtbot/guides/tree/master/style#testing

RSpec (see left navigation for Request, Feature, View, etc): https://www.relishapp.com/rspec/rspec-rails/docs/request-specs/request-spec

Working with time zones in Ruby on Rails: http://www.elabs.se/blog/36-working-with-time-zones-in-ruby-on-rails

Fast JSON APIs in Rails with ActiveModel Serializers: http://robots.thoughtbot.com/fast-json-apis-in-rails-with-key-based-caches-and

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment