Linking pages
Related searches:

Search whole site: site:gist.github.com

Search title: This is an extraction from Jim Weirich's "Decoupling from Rails" talk, which explained how to apply the hexagonal design pattern to make every layer of your application easily unit testable (without touching the database etc). It only seeks to extract a single method, the EmployeesController#create method, to illustrate the design damage that's being induced by following this pattern. Please view the whole talk to fully understand the scope of this and to see how this enables the "test doubles at the boundaries" approach for fast tests: https://www.youtube.com/watch?v=tg5RFeSfBM4 · GitHub

See how to search.