← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 20
  1. How to Safely Drop Columns in Rails

    Dropping a column from a database table is one of the simplest possible migrations, if you just look at the syntax.

  2. Refactoring Databases (in Rails)

    These are my notes from the first few chapters of Refactoring Databases by Scott Ambler and Pramod Sadalage.

  3. Last year, I announced plans to rewrite this blog in Ruby on Rails.

  4. This post is part of a series on Active Storage internals.

  5. Two days ago, Rails added a new feature that makes working with bearer tokens easier.

  6. Combined Credentials in Rails 8.2

    While going through recently merged PRs in Rails, I came across a new feature from DHH, that handles a common concern in app configuration: managing credentials across different configuration backends in a single, consistent manner.

  7. People usually read fiction before going to bed.

  8. Active Storage is a wonderful library for managing file uploads in Rails.

  9. TL;DR: You can and should use localhost in development.

  10. I recently added sitemaps to a few Rails-based marketing sites I manage for clients, and within weeks, we saw a noticeable boost in search traffic.

  11. While reading the source code for the Maybe project (which is a really good Rails codebase that follows most of the Rails best practices and conventions), I came across this code in the router config file.

  12. Over the past year, I’ve started heavily using AI tools like Cursor and ChatGPT in my everyday development workflow.

  13. While debugging a Rails app, sometimes it's useful to see the full list of callbacks that are set to run before, after, or around a controller action, in the exact sequence they will run.

  14. If you’re an experienced web developer looking to go freelance, or just line up a few solid side gigs, there’s a simple shift that can make your life much easier: stop targeting upwork / individuals / mom-and-pop shops, and sell to businesses.

  15. This is the seventh post in the series on Rails controllers.

  16. This is the sixth post in the series on Rails controllers.

  17. Vibe Learning is Underrated

    Vibe coding is overrated.

  18. TL;DR: If you don't want to read the >3000 word post, here's the gist: X-Sendfile (or a variation of it, such as X-Accel-Redirect) is an HTTP response header used by web servers (like Nginx, Apache, or Thruster) to efficiently serve files to clients witho…

  19. I’ll start with a confession: I’m still quite new to the world of performance analysis and optimization.

  20. We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.