Rails automatically calls the `id` method inside scopes and the variable name makes more sense if it represents investments instead of the number of investments.
Rails automatically calls the `id` method inside scopes and the variable name makes more sense if it represents investments instead of the number of investments.