Tutorials

Ruby on Rails 117 Find code security vulnerabilities with Bearer static code analysis tool - YouTube
I used to work at Bearer together with Guillaume for a year (he's my EX-boss).Now they finally made the tool they've been working on public!It's a static code analysist tool (like Rubocop or Brakeman) to find data and security vulnerabilities.In t...

How to click links in Rails Mailers when writing tests - DEV Community
In this tutorial, you'll learn how to write a test that clicks a link in a Rails mailer. This is particularly useful when testing emails with links that require unique tokens or may expire, such as password reset emails. We'll cover the steps to c...


Deploying a React-Rails App on Render - DEV Community
I can't believe it! I am almost done with my time at Flatiron School, there is a sense of relief, but at the same time thoughts of what the job search is going to be like has been flooding my mind lately.What are hiring managers looking for? Do bo...


Mastering PostgreSQL Views and CTEs for Rails Developers: A Comprehensive Guide - DEV Community
Views and Common Table Expression or CTE are two important concept in PostgreSQL. There are good chances that you will have to deal with it if you work with data.In my quest to become a SQL wizard, I had to tackle this of course. In a first part I...

Mastering Eager Loading and Beyond! Rails 7 - DEV Community
If you're building a web application using Ruby on Rails, you might find that your queries are becoming slow as the size of your database grows. One way to improve performance is to use eager loading, which allows you to load associated records up...

ASMR Programming - Snake in Terminal - No Talking - YouTube
Hello my dear coders,In today's video, I'll code a Snake in the Terminal.Hope you like it!SOURCE CODE: https://gist.github.com/mehdi-farsi/f...Don't miss out on exclusive coding tips and tricks! Hit that subscribe button now and join the journey t...

Rails Generator for GraphQL queries - DEV Community
This article is about a real need I had in my work.Create a graphql queries in rails, Everytime I have to make a do this I have to create a bunch of file, sometimes even directory because they did not exist yet.I wanted to automate the generation ...

From string to sing: How ChatGPT can write your rails' Active Record code - DEV Community
Let's face it, fellow Rails devs: a lot of what we do is just basic CRUD. We spend most of our days translating user requests into queries that hit our database. And let's be honest, we're not animals - we're not writing raw SQL. No, we dress that...