OSDN Git Service

fix model
[pettanr/pettanr.git] / app / models / panel_picture.rb
index 4c463d9..e79836a 100644 (file)
@@ -14,17 +14,6 @@ class PanelPicture < Peta::Element
   validates :z, :presence => true, :numericality => {:greater_than => 0}
   validates :t, :presence => true, :numericality => {:greater_than_or_equal_to => 0}
   
-  def self.colum_structures
-    @@colum_structures ||= {
-      :width => {
-        :helper => 'panels/size_helper'
-      }, 
-      :height => {
-        :helper => 'panels/size_helper'
-      }
-    }
-  end
-  
   def self.list_opt_for_panel
     {
       :panel_pictures => {
@@ -109,13 +98,6 @@ class PanelPicture < Peta::Element
     self.picture.symbol_option
   end
   
-  def boost
-  end
-  
-  def tag_element_type
-    'panel_picture'
-  end
-  
   def self.list_where
     'panels.publish > 0'
   end