Fix typo in table name
parent
980327dddf
commit
37531d4486
|
@ -1,7 +1,7 @@
|
||||||
module MetasploitDataModels::ActiveRecordModels::ModuleMixin
|
module MetasploitDataModels::ActiveRecordModels::ModuleMixin
|
||||||
def self.included(base)
|
def self.included(base)
|
||||||
base.class_eval{
|
base.class_eval{
|
||||||
base.table_name = "module_mixin"
|
base.table_name = "module_mixins"
|
||||||
belongs_to :module_detail
|
belongs_to :module_detail
|
||||||
validate :name, :presence => true
|
validate :name, :presence => true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue