News for hackers. Stuff that matters.
Re:Happy Birthday, Ruby by Karunamon on Thursday January 10, 2019 @01:11PM (#18876306)
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.
Re:Happy Birthday, Ruby by dnautics on Thursday January 10, 2019 @03:08PM (#18877568)
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"?

Re:Happy Birthday, Ruby by sethrin on Thursday January 10, 2019 @03:50PM (#18877999)
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".