Saeloun Blog

blog.saeloun.com · Company blog · on HN since 2019

Saeloun is a Ruby on Rails consultancy whose blog documents new Ruby and Rails features and changes in short posts.

What HN saysHN commenters cite it as a reference for specific Rails and Ruby changes, such as Active Storage expiring URLs and explain options.
34HN people shared it
7linked it in comments
71stories submitted
670story points
9 months agolast shared
2019people per year2026

Most-shared posts

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
    Ruby Lazy Enumerators
    1 people · 141 points · first shared 2019 · 14 comments on HN
  6. 6
    Ruby adds experimental support for rightward assignments
    1 people · 107 points · first shared 2020 · 163 comments on HN
  7. 7
  8. 8
    Ruby adds experimental support for Rightward assignments
    1 people · 34 points · first shared 2020 · 37 comments on HN
  9. 9
    Rails 7.1 Introduced Validate Option for Enums
    1 people · 10 points · first shared 2024 · 1 comments on HN
  10. 10
    What is new in Ruby 3.3
    1 people · 8 points · first shared 2024 · discussion on HN
  11. 11
    Rails 8 adds built in authentication generator
    1 people · 6 points · first shared 2025 · 1 comments on HN
  12. 12
  13. 13
  14. 14
    Rails 6 adds ability to block writes to a database
    1 people · 4 points · first shared 2019 · 1 comments on HN
  15. 15

What HN people wrote when they linked it

Alifatisk · 2024-02-28
I 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/bd06aab33052783e84672bd6894e9533… [2] https://blog.saeloun.com/2019/10/28/bind-parameters-in-activerecord-sq…
lmz · 2024-03-22
Ruby (probably inspired by Perl), but removed now: https://blog.saeloun.com/2020/02/18/ruby-2-7-access-and-setting-of-saf…
prasanthch · 2024-02-23
Rails 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-record-rel…
gepardi · 2023-12-22
> “ 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 running older versions (it seems). https://blog.saeloun.com/2019/10/10/rails-6-adds-support-for-multi-env…
itake · 2023-10-09
1. 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-urls-to-acti… 2. CDN support is via monkey patch: https://github.com/rails/rails/issues/44136 3. yep 4. yep
house9-2 · 2022-01-08
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-sole-by.h…
gosukiwi · 2021-05-21
Nowadays in Rails-land there's lots of tools to manage that, [the latest](https://blog.saeloun.com/2020/02/25/rails-strict-loading-mode-to-fix-n… integrated into Rails itself. ORMs can be bad, but it's not fair to blame them "just because".

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close