fb2b4d8a8a
chore: fix api test conventions chore: rubocop -A spec/ chore: more rubocop -A fix failing test rubocop fixes removes helper methods that are in my opinion dead code more rubocop fixes rubocop -a --auto-gen-config
8 lines
314 B
Ruby
8 lines
314 B
Ruby
# stores the quantity, tolerance and timestamp of an GroupOrderArticle
|
|
# Considers every update of an article-order, so may rows for one group_order_article ar possible.
|
|
|
|
class GroupOrderArticleQuantity < ApplicationRecord
|
|
belongs_to :group_order_article
|
|
|
|
validates :group_order_article_id, presence: true
|
|
end
|