25 July 2017

Source: http://blog.codeclimate.com/blog/2012/10/17/7-ways-to-decompose-fat-activerecord-models/

Don’t Extract Mixins from Fat Models

  1. Extract Value Objects

  2. Extract Service Objects

  3. Extract Form Objects

  4. Extract Query Objects

  5. Introduce View Objects

  6. Extract Policy Objects

  7. Extract Decorators