Ruby on Rails Community Forum

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 a N...
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 vagrant, everyt...
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 &...

"Logged in as" message not appearing in Rails for beginners part 15

0
Ruby
Hello, In the "Rails for Beginners" part 15 video, I can't manage to get the "Logged in as" message to print out on the page.. I tried everything I knew, and it seems that a few other people are ha...
fabrice1236 posted

New Users Only Created by Admin User

4
Gems / Libraries
I'm building an internal app for my company that contains data from various sources (e.g. web analytics, server logs, etc.). It's hosted on an EC2 instance with a DNS of "reports.example.com". Ri...

Alexa Skill with Rails Discussion

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

am trying to delete a comment

0
Rails
am trying to delete a comment but when i click delete am getting a routing error and also when submitting the comment i get the data which is suppose to save on database i got it on screen
jemimah chepyego posted

Featured articles

1
Rails
Morning everyone. I'm currently working on a project with articles about cryptocurrency. Iḿ a beginner rails dev and I need your help to set a button in every article in the dashboard to set it as ...
homerunthat 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...

Where to store images?

0
Servers
Hello everyone, I'm working on an application and I expect a lot of images to be uploaded on it. I don't have estimates yet, but I think they will be in the range of 20K-30K images in the first ye...
Ali Hamdi Ali Fadel posted

Could I deploy two different apps on the same server?

0
Servers
Hello everyone, Yesterday, I started using HatchBox to deploy my Rails application, and I deployed 1 application successfully. The process is clear and straight-forward. My question is could I de...
Ali Hamdi Ali Fadel posted

How to Test OmniAuth with Rails Discussion

0
General

the deleting user is blocked if they have subscribed to forum

1
Rails
We have used the simple_discussion gem in our rails application but the error is caused when the user is destroyed. ``` PG::ForeignKeyViolation: ERROR: update or delete on table "users" violates fo...

invisible_captcha

1
Gems / Libraries
Hello any one can I ask how to make use of invisible_captcha comes with jumpstart-pro ? i didn't see any helps or instructions regarding this title am sorry if I missed. any one please

Turbo Confirm Modals with Confirmation Text in Rails Discussion

0
General

HTTP Server in Ruby from Scratch Discussion

4
General
This is very inspiring! Thanks for this course :)
rowposse replied

Atomic Updates And Performance with ActiveRecord Transactions Discussion

2
General
Love it
ctw replied

Safely running custom User Ruby code (e.g. Shopify Scripts)

2
Ruby
Hello everyone! Nervous first-time poster here, and of course, my apologies if there's already a video / thread that covers this. An advanced topic I'd love to see covered on GoRails (or hear any ...
Keegan Bakker replied

What is the best way to learn React JS?

5
General
What is the best way to learn React JS?
Dave White replied

Setup Ubuntu 22.04 Jammy Jellyfish Discussion

0
General

Learning Ruby on Rails? Join our newsletter.

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