Stuck refactoring code in an unwieldy Rails project? Check out ‘Rails Antipatterns’ by Chad Pytel and Tammer Saleh. It contains real world examples of, and proven solutions for, code smells that may hint your code is heading down the wrong path. From models, through controllers, and up to views it shows how you can both effectively avoid pitfalls in new projects and dig yourself out of holes that have made their way into legacy codebases.