What code goes in the lib/ directory?
A common question teams run into while building a Rails app is “What code should go in the lib/ directory?”. In this post I describe a common antipattern for Rails code organization and a principle for determining what classes should go where.
Comments
Thanks for writing this Bryan. It received a healthy discussion on the Mendicant University community channels, and in the end, everyone pretty much agreed with what you had to say here :)
Post a comment