From 405241c5d0e1479349db2e9caa2b655056877fef Mon Sep 17 00:00:00 2001 From: Ben Passmore Date: Tue, 8 Oct 2019 16:13:36 +1000 Subject: [PATCH] Added base model --- core/main/model.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 core/main/model.rb diff --git a/core/main/model.rb b/core/main/model.rb new file mode 100644 index 000000000..0401a78fe --- /dev/null +++ b/core/main/model.rb @@ -0,0 +1,14 @@ +# +# Copyright (c) 2006-2019 Wade Alcorn - wade@bindshell.net +# Browser Exploitation Framework (BeEF) - http://beefproject.com +# See the file 'doc/COPYING' for copying permission +# + +module BeEF +module Core + class Model < ActiveRecord::Base + # Tell ActiveRecord that this is not a model + self.abstract_class = true + end +end +end