You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
228 B

class CoverLetter < ApplicationRecord
belongs_to :user
default_scope -> { order(order: :asc) }
scope :active, -> { where.not(order: nil) }
def tex_paragraph
csv_paragraphs.split(";").join("\n").tex_safe
end
end