OSDN Git Service

rename model name
[pettanr/pettanr.git] / lib / locmare / profiler / association / belongs_to.rb
index f7d680e..a40cf36 100644 (file)
@@ -35,7 +35,7 @@ module Locmare
         end
         
         def model_belongs_to_manifest
-          self.model_manifest.associations.belongs_to[@belongs_to_manifest.model_name]
+          self.model_manifest.associations.belongs_to[@belongs_to_manifest.item_name]
         end
         
         def profiler