Save 36% for Black Friday! Learn more

What are the best practices for generating SEO friendly urls in Rails 5?

7
Rails
What is the best way to generate SEO friendly urls? The Rails default is to put the id in the URL e.g articles/2 I want to be able to have a url like this articles/article-heading Previously I...
William Kennedy replied
Solved

HTML Learning Path - Form Parameter Naming Conventions In Rails Discussion

1
General
Overall epic course on the basics of HTML Collin. Thank you for taking the time to create these videos. I was always wondering about the tag being used to break the controls to a new line. Never s...
cjilbert504 replied

How can I solve this problem?

2
Servers
ERROR (SSHKit::Command::Failed): Exception while executing on host 142.93.8.11: docker exit status: 1 docker stdout: Nothing written docker stderr: Error: target failed to become healthy
Alan Reid replied

Stripe Connect setup with Pay gem

2
Rails
I am setting up a payment pathway in my application to accept and pay other users within the platform, but there is an extra step to this. A User belongs to an Organization. user belongs_to :organ...
Cal Findeiss replied

Acts as Tenant with Active Storage

2
Gems / Libraries
Hello! I have been developing a multitenancy app using acts_ac_tenant. Until now it works really well but now I want to add some support for storing some files. I got a little bit confused about ho...
Andres Carvajal replied

Active Support Deprecation Exceptions Discussion

3
General
Thank you greatly for the useful material you provide. Hope you will always publish as many outstanding pieces as you can going forward for everyone.
Chang Kook replied

How to Upgrade Old Projects: ActsAsTenant Discussion

6
General
Great episode!!!
Alexander John replied

How to use jQuery & jQueryUI with Esbuild Discussion

16
General
If we're not using jQueryUI or any library that depends on jQuery, then are these lines enough by themselves? window.jQuery = jquery; window.$ = jquery;
Alex replied

Adding Custom Inputs to GitHub Actions Discussion

2
General
Have you used GitHub Action Inputs for any other cool things?
selpinka pioky replied

Migrating from Rails UJS to Hotwire: Data Method, Confirm, and Disable With Discussion

18
General
Small comment about those delete links (I really dislike using links for delete requests): when you need to put a delete button inside form, consider moving the submit button outside of the form in...
Colin Ambler replied

Deploy Ubuntu 24.04 Noble Numbat Discussion

2
General
I get this error when something is done with the kamal setup command `ERROR (SSHKit::Command::Failed): Exception while executing on host 143.198.7.66: docker exit status: 1 docker stdout: Nothing w...
Juan Alexander Rodríguez Álvarez replied

How to Upgrade PostgreSQL Version on Ubuntu Server Discussion

2
General
What does it mean if both old and new clusters are online?
Vasiliy replied

Transactions

2
Databases
If I am working on a db with millions of users and i have a job that requires updating multiple tables, what is the best way to approach this? I was thinking to wrap it in a transaction but the iss...

Autosave Draft Records - Part 1 Discussion

4
General
Just a heads up! Around 9:20, your head is covering the code you're typing. I had to rewind a couple times to go back and figure out what you were saying. Otherwise, awesome episode!
Graeme Ellis replied

Adding a New Blog Post Action Discussion

9
General
Hi Chris, i have noticed that the show action has an instance variable called @blog_post. Which is the current blog post being viewed. Why are we overwriting that variable in the new action?
Juan Francisco Gallardo Gonzalez replied

How to Configure Multiple Databases with Rails Discussion

0
General

Ruby / Rails: distributed background processing (workers on different hosts) - which technology stack to use?

1
Ruby
We need to perform background tasks on different servers, and return the results to the central database. In order to make a decision about which Worker to assign a task to, the Task Manager must ...

How to load jquery and other vendor js & css files through importmap in Rails 7

0
Rails
Hi, I am trying to re-building a website using Rails7 and Bootstrap4, which was already developed in Rails5 and Bootstrap3. I have faced some problem of loading jquery and css files. I followed the...

need help with buffer clone app

1
Rails
DEBUG -- omniauth: (twitter) Request phase initiated. I get this above line when I press the Connect Twitter button.
Arnab Mondal replied