diff --git a/lib/metasploit_data_models/active_record_models/vuln_attempt.rb b/lib/metasploit_data_models/active_record_models/vuln_attempt.rb
index <HASH>..<HASH> 100755
--- a/lib/metasploit_data_models/active_record_models/vuln_attempt.rb
+++ b/lib/metasploit_data_models/active_record_models/vuln_attempt.rb
@@ -1,7 +1,7 @@
 module MetasploitDataModels::ActiveRecordModels::VulnAttempt
   def self.included(base)
     base.class_eval {
-      belongs_to :vuln, :class_name => "Mdm::VulnAttempt", :counter_cache => :vuln_attempt_count
+      belongs_to :vuln, :class_name => "Mdm::Vuln", :counter_cache => :vuln_attempt_count
       validates :vuln_id, :presence => true
     }
   end
Fix a bad classname that prevented cache_counters from working