Save 36% for Black Friday! Learn more

General Ruby on Rails Forum

Knowing you're probably preparing some episodes on Hotwire, here are some questions

3
General
* how do you install it with Rails 6.1 and most common use case (webpack setup) * is Turbo a drop-in replacement for Turbolinks? * what would it take to replace Turbolinks with Turbo in existing (6...

Can I setup Rail app to the managed DigitalOcean Server

0
General
I am looking to setup the Go rail app to the [managed DigitalOcean server](https://www.cloudways.com/en/digital-ocean-cloud-hosting.php) which consist of: Ram: 1GB Processor: 1Core Basic Storage: 2...
EstherLewis posted

Realtime Charts with Stimulus Target Callbacks Discussion

6
General
Hi! You tend to have an episode topic when I need it :-) Great job, thank you! R.

Recurring Select with ice Cube Between Two Dates

0
General
Following along with recurring select/ice cube video, I have everything up and running with Rails 7. The only issue I have is that when someone creates an event they set a start\_date and an end\_d...
spacerobotTR posted

Custom ActionText Sanitizer & Scrubber in Rails Discussion

0
General

Madmin: How to handle slugs vs IDs

0
General
I've set up Madmin, and I'm trying to go to the (blog) Article model edit page. Problem is Article's "to_param" is the :slug. Madmin by default looks for model's IDs: How...
Jules Maregiano posted

Can anyone recommend an online SQL course that would benefit a Rails dev?

0
General
I'm looking to build on my very limited SQL knowledge and do an online course. A lot of course have an emphasis on certain topics, like data analysis or MySQL, for example. I'm using mostly...

Where to store images?

1
General
Hello everyone, I'm working on a Rails app that should handle 20K-30K images in the first year, and I was thinking about where to store the images. I thought about local storage, but this will...
Ali Hamdi Ali Fadel replied

GoLang vs C++ These two are the leading programming languages

0
General

rake aborted! LoadError: cannot load such file... HELP!

0
General
Setting up Ruby on Rails on Windows 11 using subsystem Ubuntu. I am trying to run the command: "rake db:create rails server" and I'm getting this error: rake aborted! LoadError: canno...
Ashley Harmon posted

Symbols vs Strings Discussion

15
General
Nice! Some of my upper division CS students struggle with the notion of symbols, and I'll point them this way.

API CRUD Actions Discussion

3
General
Great series. Are you gonna release it as a gem at the end?

Sending Data Between Controllers And Views Discussion

5
General
Thanks.I‘m very interested in this.

What is Hotwire Strada?

6
General
Hi, I am not sure what Hotwire Strada will be for? Is it something to be able to do kind of mobile web app with our rails app? Anybody know more details?
Abdullah replied

How to use Test Stubs with Minitest Discussion

0
General
would it be reasonable to have a subset of the testsuite only testing expensive external dependencies (db access, 3rd/party/integrations, etc. and run these on the side, and have stubbed methods be...
Andreas posted

Refactoring with the Null Object Pattern Discussion

22
General
One thing to watch out for with NullObjects is Relations. Rails recently introduced a Relation#none method which will help in these cases. Imagine a Post has_many Comments, you'd want to create...
Sergio Márquez replied

How To Setup Vagrant For Rails Development Discussion

8
General
Nice guide. A few weeks ago I tried following it but ran into a few problems with chef recipes but now it worked =)Only two small problems: 1 - My "bundler" gem was not installed by vagra...
Young Jung replied

Advanced Caching with User Permissions and Authorization Discussion

25
General
A great episode again Chris! I wish you had released this one a week earlier though :). It would have made my life way easier. Could you tell me if there is any advantage of using meta tag like &...

Alexa Skill with Rails Discussion

1
General
Really enjoyed it :) I wonder if we can do something like this with Siri
Ryan Caldwell replied

How to use Devise with Hotwire & Turbo.js Discussion

81
General
Hey Chris - If we are still using Webpacker, we just need to change data-turbolinks-track to data-turbo-track in our layout files? In your episode repo, you still have it as turbolinks. <%= st...

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.