re: Where to start refactoring. VIEW POST

re: For the rails side I'm trying to stick with each part as M and C. One of my main goals is to extract some of the more presentational code from the...

Word. That could be an epic in itself, yeah? “Abstract presentational code to helpers” and have stories for each model/model type. That way, if you work in chunks you can CI your changes.

Since rails is serving as only an api in this instance I figured I could use decorators pretty heavily in the json responses and really DRY up both the jbuilder files and my models.

code of conduct - report abuse