Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 29
  1. Run RSpec specs in parallel (with the parallel_rspec gem)

    Run RSpec in parallel and speedup your specs by 2x-4x locally using the handy parallel_rspec gem.

  2. Exploring the Blazer gem

    Learn how to use the Blazer gem in your Ruby on Rails app to query data in SQL, build dashboards, and run automated checks.

  3. Internal product analytics with Ahoy

    Learn how to use the Ahoy gem to track feature usage within your Ruby on Rails apps.

  4. Stealthly Web Scraping in Ruby with Ferrum

    Learn how to setup Ruby and Ferrum for stealthy web scraping and browsing, including setting up correct headers, proxying requests, rotating your user agents, restricting bandwidth usage and more.

  5. Using Rails debugger/rdbg with VS Code

    A short introduction to the rdbg/debugger extension for VS Code, plus a guide on how to set it up correctly to debug your Ruby on Rails applications, as well as your RSpec specs.

  6. A decent VS Code + Ruby on Rails setup

    Setting up VS Code for Ruby on Rails development can be tricky, so I wrote this article to help.

  7. Here's what's coming in Rails 8

    Work on Rails 8 is starting, so I dug through the official GitHub milestone to break down all the upcoming goodies for you.

  8. Edit Rails Credentials using VS Code

    This short guide shows you how to use VS Code to edit secrets in your Ruby on Rails app when you run `rails credentials:edit`.

  9. ActionMailer attachments in Ruby on Rails

    ActionMailer makes it easy to attach files to your emails.

  10. Some ViewComponent tips (how I write them)

    In this article, I share tips for writing Rails ViewComponents, based on my experience building RailsNotes UI, and other projects.

  11. Refactoring from feature specs to system specs

    In this article, I break down the difference between system specs and feature specs in RSpec and Rails, and walk you through refactoring your feature specs to system specs.

  12. Build dynamic navs with current_page? (and conditional classes)

    This article explores a dynamic nav component I built using the current_page?

  13. Add a favicon to your Rails app in 2 minutes

    This is a super short article on how to add a favicon to your Ruby on Rails app.

  14. A simple Stimulus Tabs Controller

    In this article, I share a handy Stimulus controller for adding tabs to your Rails apps.

  15. Preview Rails mailers with letter_opener, MailCatcher and MailHog

    This article covers everything you ever wanted to know (and more) about previewing emails and ActionMailer templates in Ruby on Rails.

  16. Skip the console with Rails Runner

    If you're sick of typing rails console all day, or just want to learn about a cool Rails command, I've got something that you're going to like — the rails runner command.

  17. Split your database seeds.rb by Rails environment

    This method to split your database seeds by Rails environment is clean and simple, and is perfect to split up your `seeds.rb` file.

  18. Overmind 🪬, a better bin/dev for your Procfile

    Overmind is a Procfile manager on steroids — like Foreman and bin/dev, but... a lot better.

  19. Simple Lazy Loading in Rails with Hotwire and Turbo Frames

    Hotwire and Turbo Frames make it easy to add lazy-loading into our Rails apps — I'm talking only 12 lines of code!

  20. We use the faker gem to seed our database with 10,000 fake posts.

  21. Rails Generate Migration (handy reference)

    A handy reference for generating migrations in your Ruby on Rails app — I cover the basics like adding columns and tables, adjusting column types (and loads more), plus some tips and tricks...

  22. Adding Redis and Sidekiq to your Ruby on Rails app

    Here are the basics of installing Redis and Sidekiq, and then adding Redis and Sidekiq to your Ruby on Rails app.

  23. Procfile.dev, bin/dev, and Rails 7 — how they work, why they're great.

    Rails 7 introduced a lot of new things, but honestly, the `bin/dev` script is the thing I notice the most.

  24. Deploying Ruby on Rails with Dokku (Redis, Sidekiq, ARM servers and Docker).

    This is the ultimate Dokku + Ruby on Rails guide — I cover running Dokku on x86 and ARM, deploying Sidekiq and Redis, dockerizing our Ruby on Rails app, and more...

  25. Your first Stimulus Controller — Learn Stimulus in Ruby on Rails by building a toggle.

    So, you're new to Stimulus and want to try it out in your Ruby on Rails app.

  26. Most Rails apps probably don't need a React or Vue frontend.

  27. Replace .env with Rails Credentials in your Ruby on Rails app

    A deep dive into the basics of Rails credentials, explore their benefits and drawbacks, and showing you how easy it is to integrate this powerful tool into your Rails app development process...

  28. How I switched from using direct SendGrid API calls to implementing ActionMailer for cleaner, more manageable code.

  29. Deploying a Ruby on Rails App on Render with a Database, Redis, Sidekiq, and Cron Jobs

    A full guide for deploying a Ruby on Rails app to Render with a database, Redis, Sidekiq, and Cron jobs.