app/helpers/proposals_helper.rb
Line is too long. [101/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
Proposal::RETIRE_OPTIONS.collect { |option| [ t("proposals.retire_options.#{option}"), option ] }
- Exclude checks
Line is too long. [102/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
when 0.1..100 then number_to_percentage(percentage, strip_insignificant_zeros: true, precision: 1)
- Exclude checks
Line is too long. [126/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
when 1..Proposal.votes_needed_for_success then (proposal.total_votes.to_f * 100 / Proposal.votes_needed_for_success).floor
- Exclude checks