lib/migrate_spending_proposals_to_investments.rb
Method import
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def import(sp)
budget = Budget.last || Budget.create!(name: Date.current.year.to_s, currency_symbol: "€")
group = nil
heading = nil
1 trailing blank lines detected. (https://github.com/bbatsov/ruby-style-guide#newline-eof) Open
Open
- Exclude checks