Add and inherit from ApplicationRecord to match Rails 5.0 style

This commit is contained in:
Patrick Gansterer 2019-01-13 07:05:54 +01:00
parent 8c6d48da86
commit abe847c0ee
34 changed files with 56 additions and 66 deletions

View file

@ -1,7 +1,7 @@
# 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 < ActiveRecord::Base
class GroupOrderArticleQuantity < ApplicationRecord
belongs_to :group_order_article