refactoring

Knock Down Your House: Refactoring and The Creative Process

Recently, my team and I were tasked with the holy grail of assignments--a greenfield project. We were writing brand new code in a brand new app to meet brand new requirements. Like many developers, we jumped at this chance to design our own codebase and solve a new set of…

Rails Refactoring Part III: The Decorator Pattern

This is the third in a series of three posts that will demonstrate implementation of three common Rails design patterns: the adapter pattern [http://thegreatcodeadventure.com/rails-refactoring-part-i-the-adapter-pattern]; service objects [http://thegreatcodeadventure.com/rails-refactoring-part-ii-services]; the decorator pattern You can find the code for these posts here [https://github.com/sophiedebenedetto/issue-trackr]…

Rails Refactoring Part I: The Adapter Pattern

This is the first in a series of three posts that will demonstrate implementation of three common Rails design patterns: the adapter pattern; service objects [http://thegreatcodeadventure.com/rails-refactoring-part-ii-services]; the decorator pattern [http://thegreatcodeadventure.com/rails-refactoring-part-ii-the-decorator-pattern] You can find the code for these posts here [https://github.com/sophiedebenedetto/issue-trackr]…