How can I squish SQL for log tidiness (automatically)?

3
Rails
Hello everyone, I’m dealing with a challenge in my codebase where there are numerous multiline SQL heredocs being logged. While these may be helpful for local debugging, they become a hassle when ...
Simon Deis replied

Upload Cover Images in Rails with ActiveStorage Discussion

5
General
Hey Chris, thanks for the video. Will the MiniMagick gem work with the method in your method? Because I'd like to upload any image then have it resized to certain dimensions and orientated the corr...
Patrick replied

Adding Scheduled Blog Posts Discussion

22
General
Hello Chris, I am facing the issue while sign in locally (it shows password and email are invalid) even my production site is not giving me this issue, Please help. Thanks in advance!
Patrick replied

How to Migrate from Paperclip to Rails ActiveStorage Discussion

14
General
This should return the path to file in this format: /users/avatar/xxx/xx/original/filenameinstance.send(attachment).pathAlso, in my case i had to use something like:file_path = k.send(value).path.s...
Matthias Orgler replied

How to use Hotwire in Rails Discussion

86
General
Can you please provide the repository for this also?
D john replied

Separate JavaScript Importmaps For Rails Engines Discussion

3
General
Good stuff! I have an idea for another episode/lesson: When using TailwindCSS (which is pretty much the standard nowadays) in an Rails app, I found myself wanting to build "plugins" or extended fun...
Mateusz Żołądek replied

Fixing Counter Caches in the Paranoia Gem Discussion

1
General
That's EXACTLY the type of advanced stuff, that I'd love seeing more in Go Rails!
Jeni RANDRIAMIHAJASOA replied

Designing Database Models for a Password Manager Discussion

3
General
Quick tip: try to refrain from writing lines at the bottom of your terminal as it makes it difficult to read when we pause the video as the video player UI obscures the text. An easy fix would be t...
SophiaJames replied

How do I disable testing in Jumpstart pro?

2
Testing
I am having a conflict with test data in jumpstart Pro. It continues to automatically add accounts that are conflicting with my other test data. I’m encountering an issue where Jumpstart Pro’s auto...
Chris Oliver replied

How to find someone on whatsapp through something related to them

11
General
Is there an easier way for people to find someone on [url=https://techgara.com/whatsapp-aero]Whatsapp Aero[/url] with meager information related to that account. Examples include house number, pet...
CharlenePratt replied

Code Review: Refactoring the Receipts gem for Composability Discussion

1
General
One thing I've found helpful is to purposefully start with a very concrete approach (like you following the designer's template) and only refactor it later to make it more flexible if and when it's...
EssaMattou replied

Fixing an ActiveJob Config Initializer Discussion

0
General

Noticed V2 how to joins(:events)

1
Gems / Libraries
Fearing this will run shivers of _back in kindergarden_ I do apologize in advance for asking this level of n00b-ness question but I simply cannot wriggle my head around the Noticed::Notification (n...
Walther Diechmann replied

Dynamic Configs in Devise with Ruby Lambdas Discussion

2
General
This is a great series. Seeing how you approach open source and pull requests. Thanks!
Martin Barilik replied

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

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

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