General Ruby on Rails Forum

Anyone had luck with Active Storage and Cloud Front?

2
General
Hey everyone, I am working on an on demand video site that would (ideally) involve a user uploading a video via rails active storage direct upload to s3, then that video being served up via cloud...
Dalton Cole replied
Solved

How do I add HTTParty to ActiveJob ?

1
General
I'm currently trying to make a GET request with ActiveJob. It looks like everything is working, but somehow the GET request isn't saving in my database. This is my TypeformJob: ``` def perform(c...
Chris Oliver replied

How do I add radio buttons to devise signup form ?

0
General
I'm currently trying to add radio buttons to the devise signup form, the problem is that I dont know how I should write the migration, should it be a boolean, an integer or a string ? The user can...
Arnas Klasauskas posted

How to resolve the master.key problem with a Rails 5.2 dockerized project, using Gitlab CI ?

3
General
Hi everyone, First, a great thank you for this platform: I learned a lot here! I'm trying to deploy a dockerized Rails 5.2 application, using Gitlab CI/CD... First steps were going fine, but when...
Chris Oliver replied

How do I add multiple subscriptions to one user ?

3
General
I'm able to assign multiple subscriptions to a user, but the problem is that everytime I assign a new subscription to a user, I'm overriding the subscription_id. I can still show the user all his ...
Chris Oliver replied

How to setup Stripe Payments for European Countries

0
General
I'm currently trying to implement Stripe. I already did it before, but Stripe made some changes for European Countries. Now I would like to implement subscriptions. I'm quite getting a headache wra...
Arnas Klasauskas posted

Can someone please do me a big favor?

2
General
Hi Guys! I don't know if this is right or wrong for posting this here. If wrong, you can please notify me and i'll delete this off. I'm a big fan or Chris and GoRails because of the really nice tu...
Tolase Kelvin Adegbite replied

User Onboarding Progress Bar Discussion

8
General
Great episode! One thing that would improve these for me would be to include testing. Thanks
Taylor Cooney replied

Bootstrap class on individual tags in tag list

0
General
Hi Guys, I am using the "acts as taggable on" gem and it's working perfectly. The issue I'm having is trying to style the individual tags in the list. I have the code below but it applys the pill...
Gerard Donnelly posted

in app notifications using stimulus and ujs

6
General
I am attempting in app notifications similar to how Chris did it in the tutorial but trying to update it to use Stimulus but i my data-target doesn't seem to be in scope in the ajax success callbac...
Joel replied

Best Gem and Instructions for setting up followers one way.

2
General
Hi Guys, I have an artist model and I want users to be able to follow them without being followed back. Is there a gem that I can use to do this and is there any documentation on setting that up?...
Gerard Donnelly replied

How do i create these associations so they are sortable?

0
General
I need some help figuring out how I should associate my models. I have three models: ``` class Series < ApplicationRecord has_many :modules has_many :episodes end ``` ``` class Module &lt...
Twig posted

How do Rails developers work with JS developers on a project?

5
General
Hi there! I've been the only developer at my workplace for a while now and I've been coding in Rails, primarily. I don't have any formal qualifications in development, but I've been self-learning ...
Chris Oliver replied

Getting No route matches "index.html.var" errors

0
General
Hello, My Ruby app has been running for the last two months on Hostgator with no issues. I have not changed one line of code. All of a sudden, on March 9th, trying to access my website using the ba...
Gary posted

denial of service attack

1
General
What should we do to overcome Denial of service attack?
Chris Oliver replied
Solved

Multiple logins

0
General
Hi, What happens if we login with same credentials simultaneously. How to resolve such issue? And How to restrict other user from login if one user is already logged in?
satish posted

jbuilder serializer for returning INDEX endpoint not working like it did with me.json.jbuilder ....

2
General
Hello! I finished your rails api - react-native demo and am begging for more react-native rails demonstrations... I am building a game with rails/react now using your tutorial as my base layer for ...
Megazoor replied

Help request - Not sure how to implement an idea.

3
General
Hi, first of all thanks all for reading this :) Let's say i would implement a kind of autosave form based on a calendar. Let's sayt for each row of elements (pills) you have the last 7 days from ...
Ashley Engelund replied

Wordpress sub-directory on Rails App in a same server with setup using Capistrano, Passenger and Nginx.

4
General
Hi sir, Did anyone tried to setup rails app with alongwith wordpress blog and using capistrano, passenger and nginx setup? This will happen on the same server and the wordpress blog would be put o...
AreaScoutsDeveloper replied

Strong Passwords with HaveIBeenPwned Discussion

3
General
The timing of this video is perfect! I was wanting to add something like this to my app.. but was stuck on what approach to take! Again another usefull and well explained video! Keep it coming Ch...
Howard OLeary replied

Learning Ruby on Rails? Join our newsletter.

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