Tag: ruby

Problems when you don’t Refactor Rails: Wild Estimates

I’ve looked at two problems that are caused when you don’t refactor, code duplication and test duplication. Both of these are mainly technical problems that affect developers. Today I want to look at a problem that affects project managers and everyone else on a team, wild estimates Wild Estimates When an application is well refactored, …

Read more

Redmine Refactor #93: Extract Controller from IssuesController

Continuing on the IssuesController refactoring, I used extract class to create a new controller for the #auto_complete action. This action is used to search for issues that match the text from a user. Redmine has several auto_complete actions scattered throughout different controllers that I’ve been wanting to unite into a single controller. Now AutoCompletesController can …

Read more