Ruby on Rails Community Forum

Deploy rails 7.2+

2
Servers
Rails 7.2 dev containers include a compose file, enabling me to run Rails, PostgreSQL, and Redis locally with just Docker installed on my system. So I created run: rails new --rails-version 7.2.0...
Greg S replied

Tracing Rails Console Command With Ruby IRB/Debug Discussion

1
General
Super useful, thanks!
cjilbert504 replied

Ping external website

2
Rails
What's the best way to do a ping with IndexNow like : https://www.bing.com/indexnow?url=http://www.example.com/product.html&key=8baa3838e2774b34aaae330c5bfee7c4
formalexclusive replied

Rails app to upload and view videos?

2
General
I'm buidling a rails app that needs to be able to allow users to upload videos and view them in the app. Is the best strategy to use Youtube or would you recommend a different approach? Do you ha...
Mike Cannon replied

Rails & Vue.js Trello Clone - Part 1 Discussion

34
General
Glad you decided to do this :)
don mclamb replied

There are no Phusion Passenger-served applications running whose paths begin with '/path/to/app/directory'

5
Servers
I am trying to deploy my rails 6 application on Ubuntu 18 server which has Nginx + passenger . when I run cap production deploy it tell me "There are no Phusion Passenger-served applications runn...
Eloi Riera Lanau replied

Link Pagination with Pagy Discussion

1
General
An alternative to handling the Pagy::OverflowError is setting the Pagy::DEFAULT[:overflow] to either :empty_page, or :last_page https://ddnexus.github.io/pagy/docs/extras/overflow/
George Kurobara Benjamin replied

Rails Application Structure Explained Discussion

6
General
Awesome! Lots of good information here! Curious to come back here and rewatch after some time. : )
Jeremy Watt replied

Multiple File Uploads with a nice JS interface?

1
General
Hello everyone,, I am going with an 'Attachment' model which belongs to other models (just one for now). https://snaptube.cam/ https://syncnet.onl/telegram-web/ [9apps](https://9apps.cam/) The 'Att...

How to use Method Arguments with Before Actions in Rails Discussion

0
General

Base62 Encoding Short Codes Discussion

6
General
Hi Chris, why the local variable result is treated as frozen? Here is the error: Error: ShortCodeTest#test_encode_10: FrozenError: can't modify frozen String: "" app/models/short_code.rb:20:in ...
George Kurobara Benjamin replied

Affiliate Program Gems

12
General
I would love a tutorial on creating an affiliate program... Anyone have any gems they can recommend?
Brent C replied

Recording pattern (Basecamp 3)

7
Rails
Has anyone tried to unravel the recording pattern used in Basecamp 3 ? You can find breadcrumbs in the "On Writing Software Well" video series (https://www.youtube.com/playlist?list=PL9wALaIpe0Py6...
Patrick replied

Adding Honeybadger Insights To The RubyGem Discussion

1
General
Shoutout to the folks at Honeybadger for being awesome. 🫡
Sidney Gregory replied

Hotwire missing template on form submission

6
Gems / Libraries
Hi Chris/extended go-rails community :) I have been playing around with the new turbo rails and trying to implement a turbo stream for my login form submission errors. I am wondering if anyone el...
Jake Smith replied

Hobby server alternatives since Heroku going paid

3
Servers
In no particular order: * Fly.io * Render.com * [Hatchbox.io](https://app.hatchbox.io) (I built this! 🤓) * DigitalOcean Apps * Railway Hatchbox.io is a bit different because it runs on your serve...
Kentastic replied

Adding Timeouts to net-ssh with Mike Perham Discussion

0
General

Improving Revise Auth Redirects Discussion

0
General
Make the necessary changes, pls!

Devise - How do a logged in user change the password

1
Rails
HI, I am new to Rails. I am looking for your kind help to implement change password option for a logged in user. I do not want to use registrable option as, these users are created by admin and wan...
Surej GANGADHARAN replied

Action mailer rails 6

2
Rails
Hey Chris, cannot send email from console using UserMailer.welcome_email.perform_now, geting this error ``` Traceback (most recent call last): 1: from (irb):3 NameError (uninitialized con...

Learning Ruby on Rails? Join our newsletter.

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