|
@@ -3,6 +3,7 @@ class ScaleResult < ActiveRecord::Base
|
|
|
has_paper_trail
|
|
has_paper_trail
|
|
|
self.table_name = "scale_result"
|
|
self.table_name = "scale_result"
|
|
|
belongs_to :wx_user
|
|
belongs_to :wx_user
|
|
|
|
|
+ belongs_to :scale_users, :foreign_key => :user_id
|
|
|
#after_create :update_paied_time
|
|
#after_create :update_paied_time
|
|
|
|
|
|
|
|
rails_admin do
|
|
rails_admin do
|