Thread Safety with Mutexes in Ruby Discussion

0
General

A Simpler Build with Broadcasts Refreshes Discussion

1
General
My general rule of thumb is I'll use redirecting back/morphing for very simple or low-frequency pages such as admin pages where there's not a lot of user traffic, but will reach for turbo streams w...

Message Form Handling with Stimulus Discussion

10
General
Why not using stimulus data-action="keypress->conversation#submitForm" on text area instead of addEventListener?

Delegate Types Discussion

0
General

Scrolling To Unread Messages Discussion

0
General

Realtime Nested Comments: Part 1 Discussion

6
General
Amazing episode, Chris! Thank you so much for this!

Problem with Stimulus and counter_culture gem (counter_cache)

0
Rails
Hy all, i have a problem with the counter_culture gem with my stimulus controller. I have installed the gem and configured all. I have 3 model : Thats working fine for this relation: Category hav...
Code Capsules posted

Meta Tags from Scratch with Current Attributes, ActiveModel & render_in Discussion

4
General
Hey Chris! Sounds like you’re doing awesome work! Helping Rails developers build apps is a fantastic contribution. Keep it up!
jens t replied

Rails for Beginners Part 41: Next Steps Discussion

5
General
Thanks Cris I think I have something wrong cause the schedule tweets is not sending tweet at all. I have change the UTC to America/Brasilia. Could give me some advice in my https://github.com/adalb...
Will Smith replied

Exploring PostgreSQL Tuples Rails PR Discussion

4
General
I've been learning Rails through random tutorials but am thinking of committing to something more structured.
Martha Kelly replied

Authentication Generator Test Helpers Discussion

1
General
This was really awesome to see how extending them to work with system tests was done!
Cris Tommy replied

Your First Ruby Gem Discussion

9
General
Thanks Collin I've authored a few gems already, but this was a really useful look at the "bare-bones" approach rather than use the "bundle gem your-name-here # and fill in the blanks" approach. ...
luna-dam replied

How to test ActionMailer in Rails Discussion

11
General
Great episode, Chris. I like how you said you don't really need to test CSS styling but instead focus on testing the higher level functionality of your mailers. That way, a developer doesn't go dow...
Homer Gregory replied

Eigenclasses Discussion

7
General
Why does this video say it is private - I have seen it on my iPhone, but its so small, I wanted to see it on a big screen too Also - I would enjoy a video on Ruby's Hash caching and Rails Lowlevel ...
Homer Gregory replied

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

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

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...

Want to stay up-to-date with Ruby on Rails?

Join 91,345+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.