回调修改
This commit is contained in:
parent
aebdd278a5
commit
62fe591438
|
@ -1,5 +1,6 @@
|
|||
class Game < ActiveRecord::Base
|
||||
# stauts 0: can exe 1:doing 2:successed 3:locked
|
||||
default_scope :order => 'stage'
|
||||
attr_accessible :description, :myshixun_id, :stage, :subject, :user_id, :status, :ready_knowledge, :task_pass, :answer, :score, :final_score
|
||||
belongs_to :myshixun,:touch=> true
|
||||
belongs_to :user
|
||||
|
|
Loading…
Reference in New Issue