惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - Franky
MyScale Blog
MyScale Blog
A
About on SuperTechFans
博客园_首页
B
Blog RSS Feed
Martin Fowler
Martin Fowler
大猫的无限游戏
大猫的无限游戏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Vercel News
Vercel News
C
Check Point Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 【当耐特】
M
MIT News - Artificial intelligence
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog
I
InfoQ
罗磊的独立博客

Ruby on Rails: Compress the complexity of modern web apps

Safer to_i coercion, custom to_fs formats, and more! This Week in Rails: May 16, 2026 This Week in Rails: May 8, 2026 This Week in Rails: May 1, 2026 Active Record gets better every week Great big Rails World 2026 update: CFP, Corporate Support tickets, workshops Query command for database queries and more Explicit query: and body: kwargs for integration tests and more! Speedup ActiveRecord::LogSubscriber#sql_color and more! This Week in Rails: March 27, 2026 Rails Versions 8.0.5 and 8.1.3 have been released! Rails Versions 7.2.3.1, 8.0.4.1, and 8.1.2.1 have been released! This Week in Rails: March 20, 2026 Validate URI scheme in Action Text and more This Week in Rails: March 6, 2026 Planning Center is the newest Rails Foundation Contributing member Action Text gets Markdown conversion, editor links in devcontainers, and more! BARRA seeks Rails developer Joe Agliozzo is looking for a Rails developer The rise of lighttpd as the alternative web server When longer is better and more is more Snowdevil: First e-tailer on Rails Natural selection for frameworks in Ruby vs Java Address book tutorial in Portuguese Becoming a better programmer with Rails 10 Things Every Java Programmer Should Know About Ruby Really Getting Started in Rails Off the Treadmill, Onto the Rails Rails 0.9.5: A world of fixes and tweaks Rich clients with Rails and XUL
10 Reasons Rails Does Pluralization
David Heinemeier Hansson · 2005-08-25 · via Ruby on Rails: Compress the complexity of modern web apps

Thursday, August 25, 2005
Posted by admin

In the interest of world peace, here follows 10 explanations to why Rails does pluralization. Pick the one that’ll make you the most calm:

  • A point of argument: Pluralization is really meant as a long-running practical joke instituted to cause a good flame-thread every once in a while. There’s nothing like the fresh smell of napalm in the morning and all communities need a cleansing now and then. It makes it possible for us to be so ultra-nice the rest of the time without going suicidal.
  • Gives a sense of accomplishment: Since the rest of Rails is so easy, we needed to put in at least one piece that would feel like an accomplishment when you finally learned the ins and outs of it.
  • Love it or leave it: Pluralization is a posterchild for the entire philosophy of Rails. If you can’t deal with it either by acceptance or by turning it off, it saves you a lot of trouble walking away today rather than three months down the road when you learn that Rails is soaked in opinions like this.
  • A rite of passage: Similar to the point of entry, but more profound. Once you accept the true wisdom of pluralization, you will have completed your cultural transformation and become a true Railer. I can count on you know to do any bidding and your path to rails-core as been made.
  • Them against us: In order for communities to yield, they need controversial arguments where they can clearly take side and talk about “the others”. It makes the group tighter and happier.
  • A tough problem: Since Rails is so bent on solving all the easy problems and with the least amount of energy, we needed a hard problem, like the English language, to tickle us as we work on the otherwise mundane details of creating a web-application framework.
  • The learning curve: Since David is not a native English speaker, he needed some way to practice those irregular inflections. What better way than to embed the challenge in every day software.
  • It’s the color of the bike-shed: When you enter Rails, it can seem like an overwhelming experience that almost sucks you in. A good way to reaffirm your identity, and that you don’t just accept anything, is to complain about the color of the bikeshed. You now did your part of scepticism and can partake in the lovefest without feeling like a fanboy.
  • Beautiful code leads to happy programmers: One of my prime inspirations for still doing programming is the possibility of creating beautiful code. I consider the singular/plural splits as employeed in Rails to constitute beauty. Removing it would make Rails appear less beautiful and that would make me sad.
  • David is insane: This is the summary category. If you found none of the others to fit, just ascribe pluralization to insanity. If you like the rest of Rails, you can even put the positive spin that “all genuises are a little crazy”, and if you don’t, you can use this point to prove that Rails really is evil.