abiao лет назад: 4
Родитель
Сommit
a7316648fe
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/models/live_broad.rb

+ 1 - 1
app/models/live_broad.rb

@@ -2,7 +2,7 @@ class LiveBroad < ActiveRecord::Base
     has_paper_trail
     self.table_name = "live_broads"
     validates :room_id,:title,:begin_time,:end_time, presence: true
-    attr_accessor :v_cover
+    attr_accessor :v_cover,:rank_str
     before_save :before_save
     has_and_belongs_to_many :depart_record
     serialize :rank_str, Array