Ruby on Rails Community Forum
How do i use a username instead of an email?
2
Rails
I am watching the series and really enjoying it. I am up to [Part 11](https://gorails.com/episodes/rails-for-beginners-part-11-creating-the-user-model) where you create the user model. Is there a w...
Michael Lynch replied
What's the best way to debug Amazon S3 errors
0
Servers
Hi everyone,
So far in my rails journey, the most frustrating thing by far has been using Amazon S3 for storage. I have had various issues, all without error messages, which is like looking for a ...
Tom Dringer posted
How Do I Use Selectize in Rails 6
3
Gems / Libraries
Hi there, I really love the selectize tutorial and would love to use it in a rails 6 application. What changes do I need to make to the tutorial.
can i just change
`//= require selectize`
to
...
Rafal Siepak replied
What are your Recommended Linters?
0
Gems / Libraries
Hey there - I often get syntax errors in my ERB templates, is there a guide to recommended Rails linters?
Christopher Lam posted
How do I check if a model inside a model has been liked?
1
Rails
Hello there! I implemented likes to my app using this tutorial https://gorails.com/episodes/liking-posts. I went a little bit different route though. I have PollItem < Poll. Poll has_many :poll_...
William Murphy replied
DHH's most recent hotwire update...
1
Rails
I just caught a tweet from DHH mentioning a new [hotwire related pull request](https://github.com/rails/rails/pull/42999). I'm curious to know how the go rails community feels about this. Seems lik...
Chris Oliver replied
Ruby Colorize Error Help
2
General
To whom it may concern,
Hello!
I have come to use Ruby because of this following blog: https://sleepdata.org/blog/fixing-invalid-edf-dates
However, I have been getting the following error (In the...
Chris Oliver replied
Jumpstart Pro and Expo?
1
General
Related to https://gorails.com/forum/considering-jumpstart-pro-for-a-react-native-backend-is-this-a-good-idea;
I'm looking at building the frontend of my app in Expo, can the iOS integration for J...
Luba Samples replied
Rails 6 ActionView::MissingTemplate Missing template errors/500
0
Rails
I am working on to upgrade existing project and upgrade version from ruby 2.3.1 to version to 3.0.1 (rails 6.1.4) with related gems.
After uploading image, when execute render json, generate error...
MohitChavda posted
Rails Request.js Query Option Discussion
0
General
Checking for expired documents and sending email reminders
8
Rails
Hi,
I've got a system where users upload documents with expiry dates. I want to send the user an email reminder 1 month and 1 week before expiration to remind them to upload a new document.
What's...
When run Rspec System testing, the API is not working
0
Rails
I am currently using rails 6. When I run the Rspec system testing, the API cannot pass data to my index page. Here is my test code:
require "rails_helper"
require_relative "../support/devi...
Kent posted
Forum Series Part 1: Architecture Discussion
18
General
Good start Chris! btw, would be nice if you do granular commits on github, everything in 1 commit make it "harder" to follow
xiabingling replied
How to fix undefined method `<' for nil:NilClass in the view when cancelling kaminari scopes by invoking @delivery_requests = @delivery_requests.except(:limit, :offset)
0
Gems / Libraries
indeed, when I try to cancel pagination on @delivery_requests by doing this: **"@delivery_requests = @ delivery_requests.except (:limit, :offset)"**, I get the following error:
**undefined method `...
Store for plugins in a SaaS
0
Rails
Hello, i wanted to ask if any has an idea if it possible to build a store for plugins just like wordpress where you can enable or disable a plugin for a rails SaaS already built and wanna implement...
How would you nest the forum_threads in your Forum series?
4
General
I am messing around with the forum repo and I have been trying to nest the forum_threads inside of a school model. I want every school to have their own forum. What would be the best way to accompl...
Stripe payments course getting out of date
9
Site Feedback
Chris just wanted to mention that the Stripe master course is getting a little out of date (mostly just API changes on Stripe's end). Maybe a good idea to enable commenting on each section/video i...
host multiple websites with one ip
0
Servers
i am trying to host ruby on rails website in linode(deploying via puma and nginx capistrano). i am having a single(ip) server, where i have to host 3 e-commerce websites. i tried to host but all t...
Alternative to JSON Schema for jsonb
0
Rails
Hi, I am using JSON Schema to validate my jsonb data. Is there an alternative to JSON Schema?
Why my rails production server reaches to 100% CPU usage and making app to be unresponsive?
11
Servers
Hi
My rails app production server CPU usage sometimes reaches to 100% and making app to be unresponsive. We are using Ubuntu 16.04.1 LTS server and configured Rails app along with Nginx and passe...