Destroy Async, Miss Hannigan, Wisper, and Parcel
[00:10:32] Jason tells us what he’s been working on this week and a problem with quickly deleting a record that has associations and callbacks.
[00:13:53] We learn more about the gem Miss Hannigan.
[00:16:15] Chris talks about whether or not to include soft deletes in the default scope, because you end up with gotchas, and Andrew tells us the importance of putting more work and thought into your data architecture, the easier it be to modify and do things later.
[00:19:47] Andrew asks the guys if it’s okay to just use the default scope.
[00:22:30] Jason fills us in on how they use the Wisper gem at Podia for event broadcasting.
[00:24:32] Chris explains something he was doing this week relating to callbacks and the Noticed gem.
[00:28:04] Jason tells us about Rails Event Store and Chris brings up StripeEvent gem.
[00:30:15] Chris asks the guys if they realized that imports are hoisted in JavaScript, and he explains.
[00:33:31] The guys share stories about using JQuery.
[00:35:22] Jason messed with a bundler that he made work with JS bundling called Parcel, and it is awesome!
[00:41:35] Chris wonders if the guys have seen any updates to the asset pipeline in Propshaft, and Andrew has an answer and a link below with the explanation.
[00:44:49] Chris wonders how much is blocking Rails 7 at this point since the JavaScript and CSS stuff has been solved or almost solved. We also find out how Tailwind came to Chris’s rescue when doing a course with Hotwire.
Panelists:
Jason Charnes
Chris Oliver
Andrew Mason
Sponsor:
Links:
I heard there is sand in Taco Bell meat-reddit
Rails 6.1 allows associations to be destroyed asynchronously-BigBinary
Offer dependent: :destroy_async for associations #40157-Pull request-GitHub
ActiveSupport Notifications-Ruby on Rails 6.1.4
Propshaft-Add digest to valid urls in assests #7-Pull request-GitHub