Top all-time · #2245
Saeloun Blog
Company blog · blog.saeloun.comprogramming
Saeloun Blog is the company blog at blog.saeloun.com, writing about programming. Since 2019, 34 different Hacker News readers have linked it 78 times, most often “Ruby adds a new core Data class to represent immutable value objects”. It is still writing: the last post was on 2026-11-02, and you can follow it by feed.
Too few sampled comments (7) to say how often HN recommends it.?
Why HN links it
HN commenters link Saeloun's Rails posts as sources on framework features, including sole/find_sole_by, bind parameters, strict loading, presigned URLs and explain options.
Summarised by Claude from a sample of 7 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Practical Ruby on Rails engineering articles from Saeloun, a Rails Foundation Contributing Member helping teams modernize, scale, and maintain Rails applications.
Most-linked posts?
- Ruby adds a new core Data class to represent immutable value objects2 people · 2 mentions · first linked 2022-11-23
- Ruby 3.3 resolves the Range#size bug for rational endpoints2 people · 2 mentions · first linked 2023-12-04
What Hacker News says?
Rails 7 has finally added this to active record: sole and find_sole_by Both raise an exception unless a single record is found. Of course this would not make a difference when working with mongoid... I also like the fail fast approach. https://blog.saeloun.com/2021/03/16/rails-adds-sole-and-find...
Comment linking /2021/03/16/rails-adds-sole-and-find-sole-by.html
on “A routine gem update ended up creating $73k worth of subscriptions”Submitted Rails adds support for Fiber-safe ActiveRecord ConnectionPools as a story · 196 points
HN discussionI did some digging for you, I am not the best at Rails but from my understanding, it seems to throw the queries into ActiveRecords QueryAttribute using bind parameters [1]. So I'd say enough safe from sqli [2]. [1] https://github.com/ankane/blazer/blob/bd06aab33052783e84672b... [2] https://blog.saeloun.com/2019/10/28/bind-parameters-in-activ...
Comment linking /2019/10/28/bind-parameters-in-activerecord-sql-queries
on “Blazer: Business intelligence made simple”Submitted Ruby Lazy Enumerators as a story · 141 points
HN discussionNowadays in Rails-land there's lots of tools to manage that, [the latest]( https://blog.saeloun.com/2020/02/25/rails-strict-loading-mod... ) integrated into Rails itself. ORMs can be bad, but it's not fair to blame them "just because".
Comment linking /2020/02/25/rails-strict-loading-mode-to-fix-n-1.html
on “Ruby 3 JIT can make Rails faster”Submitted Ruby adds experimental support for rightward assignments as a story · 107 points
HN discussion1. You are correct for upload, but not for download. Looks like rails 7 added support for presigned urls: https://blog.saeloun.com/2021/09/14/rails-7-adds-expiring-ur... 2. CDN support is via monkey patch: https://github.com/rails/rails/issues/44136 3. yep 4. yep
Comment linking /2021/09/14/rails-7-adds-expiring-urls-to-active-storage/
on “Rails 7.1 Released”Submitted Ruby 3.4, No More TypeError with **Nil as It Is Treated as an Empty Hash as a story · 43 points
HN discussionRuby (probably inspired by Perl), but removed now: https://blog.saeloun.com/2020/02/18/ruby-2-7-access-and-sett...
Comment linking /2020/02/18/ruby-2-7-access-and-setting-of-safe-warned-will-become-global-variable/
on “Verifying Hardware Security with RTL Simulation”Submitted Ruby adds experimental support for Rightward assignments as a story · 34 points
HN discussion> “ We haven’t migrated to using the encrypted config/credentials.yml.enc introduced in Rails 5.2. This approach presents us with a few problems, most notably that we run our apps in Rails “production” environment in numerous places (integration, staging, production) and need different secrets for them.” I think it’s possible to have credentials for each environment. But that’s only as of Rails 6. They may be runnin…
Comment linking /2019/10/10/rails-6-adds-support-for-multi-environment-credentials/
on “Gov.uk Conventions for Rails Applications”Submitted Ruby adds a new core Data class to represent immutable value objects as a story · 12 points
HN discussionRails 7.1 introduces analyze and verbose as ActiveRecord::Relation#explain options to give us deeper insight into query performance. https://blog.saeloun.com/2024/02/23/rails-7-1-allows-active-...
Comment linking /2024/02/23/rails-7-1-allows-active-record-relation-explain-to-accept-options/
on a deleted threadSubmitted Rails 7.1 Introduced Validate Option for Enums as a story · 10 points
HN discussionSubmitted What is new in Ruby 3.3 as a story · 8 points
HN discussionSubmitted Rails 8 adds built in authentication generator as a story · 6 points
HN discussionSubmitted Rails 8 adds allow_browser to set minimum browser version as a story · 5 points
HN discussionSubmitted Rails 7 uses a class_attribute leading to a 7x speed improvement as a story · 5 points
HN discussionSubmitted Rails 6 adds ability to block writes to a database as a story · 4 points
HN discussionSubmitted How to Clean Up Your Rails Logs: Ignoring Benign SQL Warnings as a story · 3 points
HN discussionSubmitted Implementing Passwordless Authentication with WebAuthn in Rails as a story · 3 points
HN discussionSubmitted Ruby 3.4, Range#size Now Raises TypeError If the Range Is Not Iterable as a story · 3 points
HN discussionSubmitted Rails 8 Adds Rate Limiting to Action Controller via Kredis Limiter Type as a story · 3 points
HN discussionSubmitted Rubygems introduced a file option to specify Ruby version in Gemfile as a story · 3 points
HN discussionSubmitted Ruby 3.3 resolves the Range#size bug for rational endpoints as a story · 3 points
HN discussionSubmitted Rails 7.1 Expands ActiveRecord API with Async Query Support as a story · 3 points
HN discussionSubmitted Running a Rails Consultancy – A Year In as a story · 3 points
HN discussionSubmitted Rails 8 enhances ActiveStorage:Blob#open to work without a block as a story · 2 points
HN discussionSubmitted Lexxy – The next generation rich text editor for Rails as a story · 2 points
HN discussionSubmitted Rails Decouples Trix From Action Text Into action_text-trix gem as a story · 2 points
HN discussion