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

New to Ruby

2
Rails
hi all iam new to ruby ,so where should i start , pls suggest me
cjilbert504 replied

Asset Pipeline

1
General
What are some excellent resources to get a good foundational understanding of asset pipeline, esbuild, import maps, js bundling. I have a decent knowledge of Rails, but I have trouble understanding...
Kentastic replied

Setup Ubuntu 25.04 Plucky Puffin Discussion

0
General

Refactoring Turbo Streams into Turbo Frames Discussion

2
General
This is awesome! Do you have a video/guide/setting share for your MacVim setup seen in this video, catered to Rails development?
Denis replied

rails API -> structuring JSON - best practices

1
Rails
Is there any better alternative to jbuilder? Since fast_jsonapi is no longer maintained, what is the current 'best practice'? jb?
Esti Alvarez replied

Customizing Rubocop Rails Omakase Rules Discussion

0
General
It’s great to see a focus on best practices for maintaining code quality while allowing flexibility in style preferences.
Duane Rhodes posted

Not all ActionCable broadcasts broadcasting

2
Rails
I have an app that successfully has ActionCable implemented and working in production on Heroku. We recently added an additional broadcast, but this wont broadcast no matter what I try. Each user...
RJ McCollam replied

How to implement e-wallet system in rails?

3
Rails
I will be working on a booking system where user can pay booking with wallet credits. User can load credits via paypal payment. Is there any existing gem or project doing this? Any pointers would b...
techanicinfotech replied

Tests Without Assertions Warning in Rails 7.2 Discussion

1
General
I think another nifty trick is the `pass` method. You can use this as an alternative to `assert_nothing_raised` - just call it at the end of your test, and you're good2go.
Aindy replied

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

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

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