From 7462dea1e032693dc758669b00f981ae80c704d2 Mon Sep 17 00:00:00 2001 From: Ben Passmore Date: Sat, 30 Nov 2019 15:13:19 +1000 Subject: [PATCH] Updated autoloader for AR --- extensions/autoloader/model.rb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/extensions/autoloader/model.rb b/extensions/autoloader/model.rb index f98197775..b87a3b3a7 100644 --- a/extensions/autoloader/model.rb +++ b/extensions/autoloader/model.rb @@ -7,15 +7,12 @@ module BeEF module Core module Models -class Autoloading < ActiveRecord::Base +class Autoloading < BeEF::Core::Model - attribute :id, :Serial - attribute :in_use, :Boolean - - belongs_to :command + belongs_to :command end end end -end \ No newline at end of file +end