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

0
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 posted

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

8
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

How to use action_text-trix with Rails Discussion

3
General
Who else is excited for the new rich text editor that Jorge's been working on?
Gavin Louise replied

Invoker Commands API Discussion

0
General

Subscriptions with Pay and Stripe Discussion

3
General
Excellent lesson! Thanks for making this look easy, and actually be easy with the pay gem.
yu esther replied

New Position Senior engineer, where to start?

1
Tips
Hi everyone, I am starting a new position as a senior software engineer. I was told that it is very ruby on rails environment. I want to know what is the best way to get started with learning inte...
Jmoney 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?

How to add Search in Rails using Meilisearch Discussion

9
General
Thank you, Chris. Can we add aggregations in Meilisearch as we do in ElasticSearch?

Dynamic Single Table Inheritance with Rails Discussion

10
General
This was really fun. I wanted an easy way to introduce helpers to Notifications so by exposing them also as STI models, we could make them easily accessible with separate helper methods for each No...

Ruby Module Function Method Discussion

7
General
We especially love how splitting can be used not just as an attack but as a gesture of cooperation. It’s really wholesome when someone gives you mass just to help you out — those are the little mom...

Learning Ruby on Rails? Join our newsletter.

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