How to Remove Unused CSS Classes from Tailwind CSS, Boostrap, and more with PurgeCSS Discussion
12
General
How does this work with .haml templates instead of .erb?
Trevor Owens replied
Webpack assets doesn't work after deployment
15
General
Hi, I have been using happily rails until I decided to try stimulusJS. In the begining was great. I saw great value using it. The thing is the assets in the pack folder are not compiled when doing ...
Juan S. Caro replied
Solved
Direct File Uploads to S3: Part 1 Discussion
18
General
how could you handle wildcard domains with CORS?? I have a multi-tenant site with dynamic subdomains? or can i just leave it defaulted to *?
Vladyslav Knysh replied
Help with using FFmpeg and Ruby Rails
0
General
Hey all. I'm new to Ruby / Rails and I am doing a project where I need to upload a video into a Rails web app which would take screen shots, process them put them back together https://reversephone...
TrevorGage posted
How to use the Pay gem to accept Payments in Rails Discussion
8
General
Hey Chris,
What should we do if we just want to authorize payments without attaching a card to a user?
Maybe we could simply delete the card after the payment but I don't even see a way to properly...
Christopher Lam replied
Introduction to Stimulus Reflex Discussion
43
General
woooooo... this is sooooo cooool. Thanks Chris for all the good content you giving us 👏.
You making likes Rails every days. Respect 🙏
Jason Eastwood replied
How to test helpers in Rails with Devise current_user and ActionView::TestCase Discussion
1
General
Thanks Chris!
Update: Rubocop recommend to use (Style/TrivialAccessors: Use attr_reader to define trivial reader methods.)
attr_reader :current_user
How to write System Tests in Rails Discussion
18
General
Really loving this testing series. I've been using RSpec for years but it looks like Minitest now covers a lot of the functionality that made me choose RSpec back then.
One of the things I don't l...
Brian Gilbank replied
Infinite Scroll in Rails with Stimulus.js Discussion
25
General
This is super slick. I wonder how easily one could append the query parameter in the URL to reflect the current page? Could `History.replaceState()` handle the job?
Kevin Urbaum replied
Realtime browser updates with Cable Ready Discussion
9
General
Great episode.
Just as a note to anybody watching this who might be wondering, cable_ready pairs perfectly well with Stimulus Reflex as well. You can simply include the cable_ready call in your *...
Joseph Clarke replied
How to use Bootstrap with Webpack & Rails Discussion
50
General
Thanks for posting this and the previous video on using tailwindcss. It's helpful to see the main themes reinforced in each of the videos. One thing that I'm struggling with is what seems like a vi...
bradley replied
Multiuser Live Video Chat in Rails Discussion
7
General
*me clapping my hands like a monkey when I see the final result after losing complete track in the js part*
Trying to emulate `belongs_to trough` using `has_one trough` but having problems?.
5
General
Hello,
Imagine a travel website where you have HotelOwners and Tourists. When they start a conversation, the app creates a join model named Conversation using has_many through. It's a classic many...
jesusjavier replied
Are "nonclass singleton methods as rare as class methods are common"
0
General
In his 2011 book "Eloquent Ruby", Russ Olsen makes the states that
"nonclass singleton methods [he refers to instance methods] are as rare as class methods are common."
He makes the point that th...
TrevorGage posted
Do you guys enjoy VSCode for writing Java?
1
General
Hey I've been using IntelliJ ever since I started using Java and I wouldn't give it up for anything else, but I've been only using my student license to do so. My student license expired yesterday ...
File Uploads with Refile Discussion
94
General
Awesome.
Someone replied
rails 6 favicon.ico Webpacker can't find favicon.ico
2
General
app/javascripts/packs/application.js:
import "favicons"
app/javascripts/packs/favicons.js:
const faviconsContext = require.context(
‘!!file-loader?name=../images/favicons/[name].[ext]!.’,
true...
Stéphane Paquet replied
[AskJS] Are there Babel plugins that optimize code for special use cases?
1
General
Hey all! I was thinking a bit - I don't really use generators, and I suspect that might be because you can't just use map, filter etc. Of course you can use the [...gen] way, but that gets very mem...
aostv replied
Payment Rails Master Class (SCA) ready?
2
General
Hi Chris,
I am wondering if **Payments with Ruby on Rails Master Class** is up-to-date with Stripe Strong Customer Authentication (SCA)?
Thanks
Alberto
Is there an episode on Post Production Updates?
2
General
Love the latest episodes Chris! Was wondering if you have or plan to cover soon how to do post production updates on a rails app. For me that is a scary topic and one i think lots of folks would l...
Sheryl James replied