The Refactoring Today I finally tackled a larger refactoring that I’ve been wanting to do for awhile now. Redmine’s IssuesController has accumulated a lot of extra actions over the years, one of which is an action that renders a Gantt chart. This has never made sense to me, since the Gantt chart collects a bunch …
Tag: extract-class
Daily Refactor #57: Extract Class to CustomFieldFormat
I’m going to take a break from my Kanban plugin today to show a refactoring I did to Redmine last night for a client. Redmine has a model called CustomField. This is shared by several other models to let users add custom data to their issues, projects, users, etc. Each of these custom fields has …