{"type":"rich","version":"1.0","provider_name":"Transistor","provider_url":"https://transistor.fm","author_name":"No Compromises","title":"What is the one true way to do this?","html":"<iframe width=\"100%\" height=\"180\" frameborder=\"no\" scrolling=\"no\" seamless src=\"https://share.transistor.fm/e/d88b0417\"></iframe>","width":"100%","height":180,"duration":734,"description":"We discuss a couple scenarios where there's more than one way to do something, and how we think through our decision.00:00 How to pick what file to put this code in?01:51 An example of a single-action controller03:15 Should everything be single-action?04:58 How many methods on a controller is too many?06:10 Where do you put authorization logic?08:00 Consistency is important08:45 Silly bit","thumbnail_url":"https://img.transistorcdn.com/Z2EtRaIjEnyUZU7bc944H_cjygcmUk4l_35aeIjws5o/rs:fill:0:0:1/w:400/h:400/q:60/mb:500000/aHR0cHM6Ly9pbWct/dXBsb2FkLXByb2R1/Y3Rpb24udHJhbnNp/c3Rvci5mbS9zaG93/LzIzMDM3LzE2Mjc1/MjExMTAtYXJ0d29y/ay5qcGc.webp","thumbnail_width":300,"thumbnail_height":300}