Active Record Model Dependencies

Affa5b7b3a311fcf5f868859d586b410?s=47 shagemann
October 22, 2013

Active Record Model Dependencies

How about you try not to let all those Active Record dependencies turn your application into a big ball of mud: never allow cyclic Active Record dependencies!!

Affa5b7b3a311fcf5f868859d586b410?s=128

shagemann

October 22, 2013
Tweet

Transcript

  1. Active Record Model Dependencies Stephan Hagemann

  2. Lots of Architecture

  3. https://speakerdeck.com/shagemann/wrangling-large-ruby-codebases

  4. https://speakerdeck.com/benjaminleesmith/how-i-architected-my-big-rails-app-for-success-rmr-2013

  5. Little bit of Architecture

  6. None
  7. None
  8. None
  9. None
  10. None
  11. None
  12. What does that lead to?

  13. None
  14. Bugs Unclear responsibilities MRP not SRP Complex object creation Slow

    test suites
  15. Bad Software

  16. Why?

  17. None
  18. Never go in both directions

  19. What if?

  20. Agile Web dev with rails

  21. None
  22. No dependencies - no loose ends

  23. How? Boulder

  24. None
  25. Thanks! Boulder