app/models/budget/ballot/line.rb
Line is too long. [119/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
errors.add(:money, "insufficient funds") if ballot.amount_available(investment.heading) < investment.price.to_i
- Exclude checks
Line is too long. [117/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
errors.add(:heading, "This heading's budget is invalid, or a heading on the same group was already selected")
- Exclude checks