Ruby on Rails Community Forum

Speed up Rails boot times with Bootsnap Discussion

8
General
Hey Chris! This is really helping booting my apps faster! Thanks so much!
Vernon Morrison replied

Lazy Requiring Dependencies in Ruby Discussion

12
General
I love removing dependencies. 💖 Also, learning how libraries can make features or dependencies optional is a great thing to learn along the way.

Installing ruby on rails in ubuntu 24.04

1
General
I am following your tutorial for installing ruby on rails in ubuntu 24.04 using esdf and installed esdf.while installing ruby it downloaded ruby and while configuring the system shut down suddenly....
Andres Carvajal replied

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

10
General
Hey Chris! Sounds like you’re doing awesome work! Helping Rails developers build apps is a fantastic contribution. Keep it up!
ColeHarry 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

Normalizes method in ActiveRecord Discussion

4
General
I would like to add that you can add multiple attributes to be normalized ```ruby normalizes [:phone:, :fax, :mobile], with: -> phone_number { phone_number.gsub(/\D/, '') } ```
Tobias L. Maier replied

Devise

10
Rails
I watched the Gorails Rails Password Reset 2 part video for password reset. My question is my devise setup only create encrypted_password, and reset_password_token, not password or token columns. C...
paxtonleiny replied

How to use the Browser Guard in Rails Discussion

7
General
If you're building a no build Rails application that makes use of modern browser features (like ONCE Campfire!), you'll definitely want to use this.
Richard Ryan replied

Install Bootstrap with Webpack with Rails 6 Beta

12
Javascript
For those of you who are going to give Rails 6 Beta a test run here is how I have installed Bootstrap 4.3.1 and configured with Webpack **Step 1:** `yarn add bootstrap@4.3.1 jquery popper.js` **S...
Solved

Realtime Notifications with ActionCable Discussion

22
General
Thanks, Chris! This is an awesome episode, you're the man!

HTML Learning Path - Form Parameter Naming Conventions In Rails Discussion

2
General
Overall epic course on the basics of HTML Collin. Thank you for taking the time to create these videos. I was always wondering about the tag being used to break the controls to a new line. Never s...
Karan Kumar replied

Single Table Inheritance (STI) with ActiveRecord in Rails Discussion

9
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
rossgarnett replied

Adding CSS Design Discussion

2
General
why don't you used tailwind?
Kentastic replied

Adding Turbo Frame Test Helpers Discussion

6
General
Does GoRail allow users to use group accounts?
Tommy Gun replied

Sorting Blog Posts With Scopes Discussion

4
General
How can I do that? I want to post my discussion, but I cannot find my post after posting it. pls, help me!
Filip ƁapiƄski replied

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

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

Ruby's Tap Method Discussion

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

Deploying the Web Scraper Rails app to Production & Setting Up Cron Jobs Discussion

7
General
I wish the linking of the database was a bit more clear. My app was pulling in the credential in the database.yml file instead of simply linking via the DATABASE_URL environment variable. I had to ...
Lucas Reed replied

Using Parallel gem to achieve parallel processing in Ruby for increasing performance and making Rails Application faster.

6
Ruby
Hi everyone, I'm trying to decrease API latency in our largely synchronous Ruby on Rails backend. While we use Sidekiq/Shoryuken for background jobs, the bottleneck is within the request-response c...

How to test ActionMailer in Rails Discussion

26
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...
Daniel Brooks replied

Learning Ruby on Rails? Join our newsletter.

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