Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Exploding Rails

Ryan Bigg
April 24, 2018

Exploding Rails

Active Record causes numerous problems within a Rails application. I cover a few of these in the talk, and show an alternate way of approaching the same problems.

Ryan Bigg

April 24, 2018

More Decks by Ryan Bigg

Other Decks in Technology


  1. Rails 1.2 Rails 5.2 app /controllers /helpers /models /views app

    /controllers /helpers /mailers /models /views
  2. Does it go in the view? Does it go in

    the controller? Put it in the model No No
  3. Exploded Rails app /controllers /helpers /models /relations /repositories /schemas /transactions

    /views Regular Rails 5.2 app /controllers /helpers /mailers /models /views
  4. Or you could read my new book: bit.ly/exploding-rails $10 off

    Covers using rom-rb and dry-rb with Rails