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

Debugging need help

1
Rails
Hello Is there a method to debug hosted ruby on rails application and check the request and response object

[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

How do I find a Rails mentor?

1
Rails
I've been developing Rails apps since 2012 but my main app is still on 3.2.14 so I'm quite behind on all the new tech. I'm slowly developing a new app on the latest version but I find it slow going...
Peter vande Put replied

Trix editor is not displaying properly in Rails 6

2
Rails
Hello - I have installed Action Text in my Rails 6 app and made corresponding changes to my blog / controller, _form to have rich_text_area show. Problem is that despite requiring actiontext in my...
Rajiv replied

Displaying an address from a selected location

12
Javascript
So in a form I have locations which are set in a `collection_select` statement in the form. Each location has a name (Dairy Queen, McDondalds, etc) and has an address in the Location model. When ...
shakycode replied

How to build a GCS file browser & manager in Rails?

0
Rails
Hi Chris, Awesome work with GoRails!!! I'm a big fan! I'd like to build a Google Cloud Storage bucket file browser and manager. The key features would be browsing files on the bucket and downloa...
Adam Decker posted

How do I get the dropdown menu to show the selected after the page refreshes

0
Javascript
Hello ~ I have been trying to figure out how to get the dropdown menu like the one in this forum to show the category after the page refreshes ~ I have been trying to do it using javascript and boo...
JP posted

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

How to run rails initialization code that relies on all classes being loaded?

0
Rails
I have some crucial application setup code that I want to run once on application spinup that requires iterating through classes of a certain type and calling a gem specific initialize method on th...

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

Active Storage, AWS S3 and Cloudfront

7
Rails
Im trying to setup cloudfront for my aws s3 storage of user uploaded images. Not sure what settings to change in the storage.yml file to point to the cloudfront and still work with everything else...
Noredeen Al-Zu'bi replied

User_signed_in? doesnt work

1
General
Whenever I request for a `user_signed_in?' I get a "undefined method `user_signed_in?' for #<#:0x0000558f352697c8>" error code. The code changes everytime. Im trying to check if the user is ...

Want to stay up-to-date with Ruby on Rails?

Join 89,237+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.