Interactor

 Interactor

Talk given at Grand Rapids Ruby meetup with @laserlemon

16ae5c2e160af3bdb60db447c092985d?s=128

Daniel Morrison

February 03, 2014
Tweet

Transcript

  1. collectiveidea.com Interactor Steve Richert @laserlemon Daniel Morrison @danielmorrison @collectiveidea

  2. collectiveidea.com Before: A typical controller

  3. collectiveidea.com

  4. collectiveidea.com Step 1: Use an interactor

  5. collectiveidea.com

  6. collectiveidea.com

  7. collectiveidea.com Step 2: Use an Organizer

  8. collectiveidea.com

  9. collectiveidea.com

  10. collectiveidea.com

  11. collectiveidea.com

  12. collectiveidea.com Our Controller hasn’t changed!

  13. collectiveidea.com

  14. collectiveidea.com What about Tests?

  15. collectiveidea.com Smaller, simpler tests.

  16. collectiveidea.com

  17. collectiveidea.com How do I get it?

  18. collectiveidea.com collectiveidea/interactor gem install interactor gem install interactor-rails