Run rubocop --fix-layout and remove encoding comments
This commit is contained in:
parent
fa63e6e81d
commit
ea2862fdef
283 changed files with 1164 additions and 1969 deletions
|
|
@ -1,5 +1,4 @@
|
|||
class SupplierCategory < ActiveRecord::Base
|
||||
|
||||
belongs_to :financial_transaction_class
|
||||
has_many :suppliers
|
||||
|
||||
|
|
@ -15,5 +14,4 @@ class SupplierCategory < ActiveRecord::Base
|
|||
def check_for_associated_suppliers
|
||||
raise I18n.t('activerecord.errors.has_many_left', collection: Supplier.model_name.human) if suppliers.undeleted.any?
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue