Explorar o código

order base detail export edit

abiao %!s(int64=4) %!d(string=hai) anos
pai
achega
447d05a9fd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/models/order.rb

+ 1 - 1
app/models/order.rb

@@ -10,7 +10,7 @@ class Order < ActiveRecord::Base
     belongs_to :depart_record, :foreign_key => :depart
 
     has_many :order_details
-    has_many :order_base_details
+    has_many :base_details
 
     before_save :before_save
     #after_update :after_update