Removed acts_as_paranoid. Implemented own version.
This commit is contained in:
parent
8bafb3f4b2
commit
07581b7ecf
25 changed files with 93 additions and 57 deletions
|
|
@ -4,7 +4,7 @@ class OrderArticle < ActiveRecord::Base
|
|||
attr_reader :update_current_price
|
||||
|
||||
belongs_to :order
|
||||
belongs_to :article, :with_deleted => true
|
||||
belongs_to :article
|
||||
belongs_to :article_price
|
||||
has_many :group_order_articles, :dependent => :destroy
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue