Problem with Stimulus and counter_culture gem (counter_cache)

8
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...
Nate Roberts replied

Deploy Ubuntu 18.04 Bionic Beaver Discussion

79
General
Thanks btihen! I'll get the tutorial updated for its changes shortly!

Improving app:update command for Rails 7.2 Discussion

2
General
Using Rails main, betas, or release candidates are great ways to find bugs and contribute to Rails itself. 🎉
Ricky Garrison replied

Adding Turbo Frame Test Helpers Discussion

1
General
Does GoRail allow users to use group accounts?
marilyn ohara replied

Invoker Commands API Discussion

0
General
One of the best new browser features. 🔥
Chris Oliver posted

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

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

Removing Duplication Using with_options Discussion

0
General
hmmmm
Manuel Elliott posted

Dynamic Partial Rendering Discussion

0
General
I think if you do this, the composition of the shown attributes should be the other way around: Call `<%= render @property %>` in your show action and place the common attributes (type, addre...
Matthias posted

2025 Rails frontend solution: Phlex or ViewComponents?

6
Gems / Libraries
I'm just wondering what everyone's opinions are on the two. I've always leaned into ViewComponents, but it seems like Phlex is on the come up. What has everyone's experience been with the two as of...
Walther Diechmann replied

Ruby's Tap Method Discussion

3
General
Just tap it in. Give it a little tappy. Tap tap taparoo.

What Is A State Machine? Discussion

6
General
Hey Chris,I believe it's pronounced "Pop", not soda... :DThanks for the great videos!
John Maddux replied

Nested Comment Threads in Rails - Part 2 Discussion

5
General
There's a security vulnerability in the code which allows any authenticated user to delete anyone else's comment. While there's a check in view (`if comment.user == current_user`) for showing the d...
icyclisttreacle replied

New DataTypes For Ruby

1
Ruby
Hi, I'm Alex. I program science I was in school and I have concepts of Datatypes which I would like to have in programming language. Ruby is My Favorite languge (10+ years of experience), Are ther...
Alex replied

Link To Current Page With Params Discussion

3
General
thsi episode is too easy!
ConfusedVorlon replied

Ruby Data Class Discussion

2
General
thoughbot link: https://thoughtbot.com/blog/sandi-metz-rules-for-developers
ReginaJGilbert replied

Handling Parameter Tampering Safely with Rails Discussion

1
General
Nice fix Chris ! Dead simple
Jaroslav Horák replied

ActiveAdmin & Autocomplete

1
Rails
Has anyone had, and hopefully fixed, the jquery(?) conflict between activeadmin and autocomplete ( I was using easyAutocomplete ). Soon as I have both in a project it breaks with not a function is...
StevenSwift replied

Strings in Ruby Discussion

10
General
Thanks for this lesson
Ayushman replied

How do I install a Bootstrap 5 theme with Rails 7

9
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...
Among Us Free replied

Speed up Rails boot times with Bootsnap Discussion

6
General
Hey Chris! This is really helping booting my apps faster! Thanks so much!
injurewicked replied

Learning Ruby on Rails? Join our newsletter.

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