README.md in metasploit_data_models-4.1.4 vs README.md in metasploit_data_models-5.0.0
- old
+ new
@@ -39,9 +39,17 @@
**This gem's `Rails::Engine` is not required automatically.** You'll need to also add the following to your `config/application.rb`:
require 'metasploit_data_models/engine'
+`ArelHelper` classes must also be included in your applications `app/models/application_record.rb` class:
+
+ class ApplicationRecord < ActiveRecord::Base
+ self.abstract_class = true
+ include ArelHelpers::ArelTable
+ include ArelHelpers::JoinAssociation
+ end
+
### Metasploit Framework
In Metasploit Framework, `MetasploitDataModels::Engine` is loaded, but the data models are only if the user wants to use
the database.