Ensure to get also deleted entries in belongs_to assoc.
This commit is contained in:
parent
b0e12d177e
commit
c18fb20115
8 changed files with 8 additions and 8 deletions
|
|
@ -4,7 +4,7 @@ class OrderArticle < ActiveRecord::Base
|
|||
attr_reader :update_current_price
|
||||
|
||||
belongs_to :order
|
||||
belongs_to :article
|
||||
belongs_to :article, :with_deleted => true
|
||||
belongs_to :article_price
|
||||
has_many :group_order_articles, :dependent => :destroy
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue