
Hiring Rails developers - Berlin
0
General

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

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

Websockets with Rails(Passenger) - Error during WebSocket handshake: Unexpected response code: 400
1
Rails
Hi all,
I am trying to deploy ActionCable and Rails 5 To Production server (DigitalOcean). I have followed all steps mention in the Gorails video here: https://gorails.com/episodes/deploy-actionca...
Rizal Yusoff replied

Error 500 on Heroku (app Ruby on Rails)
0
Rails
Hello ,
I created an app on Ruby on Rails, and everything is ok on my localhost.
But on Heroku, it doesn't work :
*We’re sorry, but something went wrong.
If you are the application owner check ...

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

Why this error ? how I fix this.
4
Rails
I have a form that has fields from two different tables, the Patients table and the Addresses table. Please make a search field to use only one patient (Patient) and return his data, up to the fiel...
Thomaz Wanderbruck Schmidt 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

Slow jobs on Sidekiq
0
Gems / Libraries
In my application I have a job which makes several database queries (mysql) to recalculate certain fields of a model. (A kind of counter_caches).
Launching individually these methods take about 10...
Roberto Hugo Menéndez posted

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