lib/generators/jinda/templates/app/models/jinda/runseq.rb in jinda-0.4.3 vs lib/generators/jinda/templates/app/models/jinda/runseq.rb in jinda-0.4.4
- old
+ new
@@ -1,9 +1,9 @@
# -*- encoding : utf-8 -*-
class Jinda::Runseq
include Mongoid::Document
include Mongoid::Timestamps
- belongs_to :user, :class_name => "Jinda::User"
+ belongs_to :user, :class_name => "User"
belongs_to :xmain, :class_name => "Jinda::Xmain"
field :action, :type => String
field :status, :type => String
field :code, :type => String