app/models/legislation/annotation.rb
Line is too long. [103/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
self.context = "#{remainder_el_start}<span class=annotator-hl>#{quote}</span>#{remainder_el_end}"
- Exclude checks
Line is too long. [113/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
belongs_to :draft_version, class_name: 'Legislation::DraftVersion', foreign_key: 'legislation_draft_version_id'
- Exclude checks
Line is too long. [101/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
remainder_el_start = el_start.text[0 .. range_start_offset - 1] unless range_start_offset.zero?
- Exclude checks