How to Optimize ActiveRecord Queries with Large Data Sets in Rails 7?

2
General
I'm working with a large dataset in Rails 7 and some of my Active Record queries are getting slow. I've tried using .includes and .select, but performance still lags. What are the best practices fo...
Isaac Ashley replied

remove the class="simple-form"

8
Gems / Libraries
how to remove the class="simple-form" from a form created using the gem?
João M Cortat replied

css forum Go Rails strategy

0
CSS
I'm following the tutorial for creating the forum and using Tailwind to do the layout. I have seen that classes are used that are not native to Tailwind. What strategy did you use to build the Go ...
João M Cortat posted

Nested Layouts with Rails Discussion

0
General

How to use HTML Button Form Attributes Discussion

7
General
This would have saved me a ton of time last year when I spend hours trying to organize the delete button. 🤦‍♂️

Creating a Ruby Gem for Black Friday sales Discussion

4
General
We're using this gem to hide and show the Black Friday sale banners on GoRails. 🎉 Check out our Black Friday sale: https://gorails.com/blog/black-friday-2024

Routing Concerns and Scopes in Rails Discussion

6
General
Hey Chris, thanks for making a video on this and so quickly. I had been wanting to use routing concerns for a while but finding a good way to access the resource had me stumped. This does the trick.
David Larry replied

Stimulus Autoscroll and Broadcasting Messages Discussion

5
General
Very nice, I'm enjoying these videos where you walk through the approaches and build on them piece-by-piece! One StimulusJS-specific update could be converting your message partial to: ``` ...

Permission Failed when deploying to render

2
Ruby
I am on windows 10 and i was trying to deploy to render but meeting the v=below error Bundle complete! 14 Gemfile dependencies, 68 gems now installed. Gems in the groups 'development' and 'test' ...
David Larry replied

Your First Ruby Gem Discussion

8
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. ...
Saium Linkr replied

Listopia is launched!

1
Site Feedback
Listopia is a simple, effective open-source list and task management app. It lets you share lists and tasks with friends, family, and team members. Enjoy it and star it on [GitHub](https://github.c...
David Larry replied

Restrict devise routes

2
General
Hi, How can I restrict access to the devise sign_up route to logged in users only? Controller: ```ruby # frozen_string_literal: true class Users::RegistrationsController < Devise::Registrati...
herrylauu replied

Dedicated Servers i want rent 100

4
Servers
Dedicated Servers CPU 16 cores, 3GHz or higher, example AMD 5950x 128GB RAM or more 1TB or more NVME SSD 500 Mbps+ channel, 100TB/month traffic
Davidmenk321 replied

Asset Pipeline

1
General
What are some excellent resources to get a good foundational understanding of asset pipeline, esbuild, import maps, js bundling. I have a decent knowledge of Rails, but I have trouble understanding...

Can't login to Learn Hotwire course, with my GoRails login (and can't sign up)

2
Site Feedback
Hi, I tried signing up for the Learn Hotwire course, but it said my email was taken. Naturally I tried logging in with my GoRails login, no dice. Attempted to reset the password, but never recei...
Karla Lara replied

How to use Enumerable with Ruby Classes Discussion

1
General
What use cases have you used Enumerable for?
Karla Lara replied

Is there a torrent or similar to download all episodes?

9
Site Feedback
Hello, in the next month I will go on vacation. There is only very slow internet access and I want to use the free time to refresh my Rails knowlege. I know, I should just relax, but learning som...
Solved

How to use the Browser Guard in Rails Discussion

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

Message Form Handling with Stimulus Discussion

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

Ruby Official Documentation Link Not Working

1
Ruby
https://ruby-doc.com/docs/ProgrammingRuby/html/index.html - Can someone check why this is not working?
Jonathan Fleming replied

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

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

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