New Rails API docs, Webpacker "fun", and security.txt

06/11/2020 43 min Episodio 101
New Rails API docs, Webpacker "fun", and security.txt

Listen "New Rails API docs, Webpacker "fun", and security.txt"

Episode Synopsis

[00:03:05] Chris mentions Kasper posted a link to a PR that updates the Rails API guides, which now includes the sidebar with all of the classes and turbo links in there.[00:04:54] Andrew brings up Docs and tells us there’s a ton of Webpacker documentation in a folder in the Webpacker repo called “Docs” and there’s a lot of documentation in there that a lot of people probably don’t know about. [00:09:28] Jason was reading the Docs and just realized you can import Sprockets files into your webpack stuff.[00:12:17] Andrew brings up a problem he’s had with webpack configs and how he found a few things in it that could be improved.  Chris and Jason share their thoughts, and CoffeeScript is brought up in the conversation.  [00:21:11] Andrew says UJS is going away. Jason tells us his problem with UJS.[00:23:15] Chris tells us about the problems with Rails Scaffolds and what Turbolinks 6 is addressing. [00:25:55] Chris talks about using the Turbolinks render library in Jumpstart Pro.[00:30:19] Andrew asks the guys if they’ve ever heard of “security.txt” and he tells them all about it. He also wonders if this could be a cool gem to create and wonders if it could be done. Chris gives him advice on what he can do.[00:36:38] Jason mentions Cloudflare that prevents the typical mail to spam you get and Chris tells us about how he is working on generating routes in madmin. Panelists:Jason CharnesAndrew MasonChris OliverSponsor:HoneybadgerLinks:Find out where DHH is-The Rework PodcastWelcome to RailsWebpacker Ruby on Rails- “How to pack js from a different gem/engine in Rails 6 + webpacker? It seems frustratingWebpacker-Import from Sprockets using helpersSurviveJS-WebpackRails UJS documentationSecurity.txtCloudflare- What is Email Address Obfuscation?Allow ‘route’ generator action to insert after any line with indentation-GitHubRails Guides-Configuring Rails ApplicationsCoffeeScriptCoffeeScript adapter for the Rails asset pipeline-GitHubmadminIf you'd like to sponsor future episodes, please email [email protected] Chris Oliver X/Twitter Andrew Mason X/Twitter Jason Charnes X/Twitter