Refactoring Your Code
Refactoring is the process of improving your code without alternating it's functionality. In this series, we'll refactor code to make it more modular, maintainable, and easier to understand.
Code Review: Refactoring the Receipts gem for Composability
Designing code for composability allows you to make code more testable, flexible, and easier to adapt in the long term. We'll look at how I recently refactored the Receipts gem so that you can easily customize receipts and still use built-in components.
How to Build Reusable Features with Concerns in Ruby on Rails
Modules and concerns provide a way to make functionality reusable across your Rails application and other apps. In this lesson, we'll show you how we can refactor our comments functionality to add a feature to any resources in Rails.