Y
Hacker News
new
|
ask
|
show
|
jobs
by
dnautics
2716 days ago
It does bring cognitive overhead, when it's not explicit
1 comments
Karunamon
2716 days ago
But you’re writing an ActiveRecord migration. It’s explicit in the same way that echoing a string out is ‘puts’ instead of ‘print’ because this is Ruby and not Python.
link
dnautics
2716 days ago
what if you're on a team where your responsibilities are divided and you only touch ActiveRecord sporadically?
What does ActiveRecord consider the plural of "fish"?
link
sethrin
2716 days ago
You can change the inflections if you need to do so. ActiveRecord by default considers fish to be an uncountable noun, so the plural would be "fish".
link