
How to Build Custom ActiveRecord Validations Discussion
4
General
How does "resizable_image: true" work? I'm assuming that because you named your validator "resizable_image_validator.rb" with a class name "ResizableImageValidator" and then calling "validates :ava...
marilynohara replied

Meta Tags from Scratch with Current Attributes, ActiveModel & render_in Discussion
2
General
Hey Chris! Sounds like you’re doing awesome work! Helping Rails developers build apps is a fantastic contribution. Keep it up!
marilynohara replied

LearnHotwire Course - stuck with Could not find table 'solid_queue_processes'
3
Rails
Hi all,
I bought the Learn Hotwire course and stuck at the Rails Application Introduction (3rd video).
When I ran "rails s" at 1.29 minute of the video, I got this error
'ActiveRecord::Connectio...
DanAnthony replied

Retrieving Link Metadata with Background Jobs Discussion
4
General
Posting here in case anyone else ran into the issue where they tried to run a test, but got the error of having pending database migrations (also after running db:migrate).
For me what helped is r...
barker xavierr replied

Exploring PostgreSQL Tuples Rails PR Discussion
1
General
I've been learning Rails through random tutorials but am thinking of committing to something more structured.
Chris Oliver replied

Hatchbox: teams
2
General
Hello,
what are your plans for developing Teams feature on Hatchbox?
Currently I can invite someone by giving them status "admin", "member" or no status at all. The problem is, any invited person h...
Robert Bernard replied

nanotape
0
General

How do I test different configurations which are set at Rails boot time?
0
Testing
I'm currently working on a fix related to an issue in spree commerce: https://github.com/spree/spree/issues/12231
To test the failing behavior before I apply my fix, I wrote a Rspec test like this...

Is there a torrent or similar to download all episodes?
9
Site Feedback
Hello,
in the next month I will go on vacation. There is only very slow internet access and I want to use the free time to refresh my Rails knowlege. I know, I should just relax, but learning som...
Solved

Help
1
Ruby
Implement a Ruby method can_you_vote? that returns true or false depending on the given age.
This method should take one arguments (age), an Integer, and return a Boolean(true/false).
can_you_vote...

Pro
3
General
Hi Chris.. I would like to purchase the pro series for 3 months..is this possible?
Solved

Esbuild
5
Rails
I'm trying to get away from Webpacker... Installed the gem JSBundling on a Rails 6.0.1.x app, followed the setup procedures to use EsBuild, and it worked. Got BootStrap 5 working with the guidance ...

solidus
5
General
I am creating my e commerce using solidus. In the admin backend, I pload products but then they are not reflected in the frontend...anyone who has come accross this?

How to Optimize ActiveRecord Queries with Large Data Sets in Rails 7?
3
General
I'm working with a large dataset in Rails 7 and some of my Active Record queries are getting slow. I've tried using .includes and .select, but performance still lags. What are the best practices fo...
Karen J. Cooley replied

remove the class="simple-form"
8
Gems / Libraries
how to remove the class="simple-form" from a form created using the gem?
João M Cortat replied

css forum Go Rails strategy
0
CSS
I'm following the tutorial for creating the forum and using Tailwind to do the layout. I have seen that classes are used that are not native to Tailwind. What strategy did you use to build the Go ...
João M Cortat posted

Nested Layouts with Rails Discussion
0
General

How to use HTML Button Form Attributes Discussion
7
General
This would have saved me a ton of time last year when I spend hours trying to organize the delete button. 🤦♂️

Creating a Ruby Gem for Black Friday sales Discussion
4
General
We're using this gem to hide and show the Black Friday sale banners on GoRails. 🎉
Check out our Black Friday sale: https://gorails.com/blog/black-friday-2024

Routing Concerns and Scopes in Rails Discussion
6
General
Hey Chris, thanks for making a video on this and so quickly. I had been wanting to use routing concerns for a while but finding a good way to access the resource had me stumped. This does the trick.
David Larry replied