<<[introduction/introduction.md]
The full book contains three catalogs: smells, solutions and principles. This sample contains a few hand-picked chapters from the first two catalogs, published directly from the book, allowing you to get a sense of the content, style and delivery of the product.
If you enjoy the sample, you can get access to the entire book and sample application at:
As a purchaser of the book, you also get access to:
- Multiple formats, including HTML, PDF, EPUB and Kindle.
- A complete example application containing code samples referenced in the book.
- Access to a GitHub repository to receive updates as soon as they're pushed.
- Access to GitHub Issues, where you can provide feedback and tell us what you'd like to see.
- And you can ask us your toughest Rails questions!
If you have any questions, or just want to get in touch, drop us a line at [email protected].
\clearpage
\mainmatter
<<[code_smells/long_method.md]
<<[code_smells/case_statement.md]
<<[code_smells/shotgun_surgery.md]
<<[solutions/replace_conditional_with_null_object.md]
<<[solutions/extract_method.md]
<<[solutions/extract_partial.md]
\backmatter
Thanks for checking out this sample of Ruby Science. If you'd like to get access to the full content, the example application, ongoing updates and the opportunity to have your questions about Ruby on Rails answered by us, you can get it all on our website: