When pre/eager loading an association, is there any way to get the associated data from a cache?

3
Rails
``` class Category < ActiveRecord::Base # columns: name has_many :books end class Book < ActiveRecord::Base # columns: title, category_id belongs_to :category end ``` Given the abov...
xiwog82932 replied

Eigenclasses Discussion

10
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 ...
Robin Madsen replied

Thread Safety with Mutexes in Ruby Discussion

6
General
In a Rails application that does standard CRUD for the most part, what would be a good use case for something like this? In the ferrum_pdf example you gave, it looks like you want to ensure there's...
evelynnotting replied

Deploying Rails 8 with Hatchbox Discussion

4
General
Awesome video Collin, and thanks for the shoutout! πŸ‘πŸ»πŸ™πŸΌπŸ˜Ž
Dale Holmes replied

Hash Fetch with Default Value Discussion

5
General
Guarantee you I've made this mistake many times over the years. πŸ˜…
Enim Korche replied

Single Table Inheritance (STI) with ActiveRecord in Rails Discussion

8
General
Thanks Chris, It's funny that we just stopped using this design pattern at Gitlab https://docs.gitlab.com/ee/development/database/single_table_inheritance.html
Dale Holmes 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...

How to use the Ruby 2.6 Just-in-Time (JIT) Compiler Discussion

6
General
Nice!
Eddie Collins replied

Find By Short Code Discussion

1
General
Doesn't this still use the `set_link` code path at the end of the episode? We should be getting rid of that and adding ``` @link = Link.find(params[:id]) ``` under the `show` method?
poorbunnyio replied

Morse Code with Ruby - Part 1 Discussion

1
General
`.. / .-.. --- ...- . / --. --- .-. .- .. .-.. ...`
Cohn Elburn replied

Inbound SMS in Rails with Twilio Discussion

10
General
Thanks Chris. Ended up using this to programatically send a text message after a user completes an order, and allow that user to ask questions, creating a conversation, where we can respond from th...
Sikuoshi replied

How to add a Command Palette to your Ruby on Rails app Discussion

7
General
Amazing information providing by your article, thank you so much for taking the time to share a wonderful article.

How do i display comments count of next page?

7
Ruby
I have a post and post has many comments, and i have made a load more button to load more comments with ajax. I would like to display on the button how many comments next page has. I use will_paginate
herrylauu replied

Retrieving Link Metadata with Background Jobs Discussion

5
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...
Noullooduady1995 replied

How much is the cost to get a web design company to build me something I need with Ruby rails?

12
General
Hi guys, so I am basically running a small business and I need a web application built with ruby on rails. I heard it is a pretty good framework, but I don't know how much the cost is for this. I w...
Robert Frost replied

Looking for indie hackers + open-source builders to spotlight in our Ruby community

2
General
Our email-list audience for rubyconfth.com grew to 2000 subs this year πŸŽ‰ To celebrate, I’m putting together content that highlights indie hackers, community builders, and open-source creators and ...
fnf unkin replied

Your First Ruby Gem Discussion

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

development env: is the asset pipeline expected to compile all assets or just those in demand?

2
Rails
I'm trying to understand if, in development, the asset pipeline is supposed to compile ALL assets found in manifest.js or just the ones that are requested. I've been doing some testing and have fo...

How do I install a Bootstrap 5 theme with Rails 7

7
Rails
Hello, I have trouble using a Bootstrap 5 theme (like those we can find on themes.getbootstrap.com, for instance) with a Rails 7 application I'm building. I'm not sure which is the best way to inte...

How to do a Realtime Basketball Boxscore Widge Properly?

3
General
I have created a basketball stats tracker . Now I wanted to create a widget so that sports site can embed my boxscore widget to their site. My plan is add a job in my app that push the game boxscor...