Add and inherit from ApplicationRecord to match Rails 5.0 style
This commit is contained in:
parent
8c6d48da86
commit
abe847c0ee
34 changed files with 56 additions and 66 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# An OrderArticle represents a single Article that is part of an Order.
|
||||
class OrderArticle < ActiveRecord::Base
|
||||
class OrderArticle < ApplicationRecord
|
||||
include FindEachWithOrder
|
||||
|
||||
attr_reader :update_global_price
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue