Ruby is already using the class name of my model

后端 未结 3 1809
攒了一身酷
攒了一身酷 2021-01-07 01:46

I\'m making a forum application with various levels of authorization, one of which is a Monitor. I am doing this by extending my User class, and I plan on fine tuning this

3条回答
  •  独厮守ぢ
    2021-01-07 02:04

    Declare your Monitor class in other module.

    module MyModule
    
      class Monitor
    
      end
    
    end
    

提交回复
热议问题