The personal finance app for everyone (by everyone)
Ruby
Update import.rb
sokie11a011db154c
diff --git a/app/models/import.rb b/app/models/import.rbindex 86ea588266..c010238035 100644--- a/app/models/import.rb+++ b/app/models/import.rb@@ -40,7 +40,7 @@ class Import < ApplicationRecordvalidates :col_sep, inclusion: { in: SEPARATORS.map(&:last) }validates :signage_convention, inclusion: { in: SIGNAGE_CONVENTIONS }, allow_nil: truevalidates :number_format, presence: true, inclusion: { in: NUMBER_FORMATS.keys }- validates :rows_to_skip, numericality: { greater_than_or_equal_to: 0 }+ validates :rows_to_skip, numericality: { only_integer: true, greater_than_or_equal_to: 0 }validate :account_belongs_to_familyvalidate :rows_to_skip_within_file_bounds