OSDN Git Service

fix anything
[pettanr/pettanr.git] / lib / manifest / item / base.rb
index 88c634c..6fc61dc 100644 (file)
@@ -28,6 +28,13 @@ module Manifest
         @parent_model_name != nil
       end
       
+      def find_boost_name column_name
+        @boost.each do |boost_name, boost_manifest|
+          return boost_name if boost_manifest.extend_column_name == column_name
+        end
+        nil
+      end
+      
       def extend_column? column_name
         @boost.each do |boost_name, boost_manifest|
           return true if boost_manifest.extend_column_name == column_name