In the middle of adding custom theme supports. Skin_pictures table added to store...
[selectricity-live] / app / models / skin_picture.rb
diff --git a/app/models/skin_picture.rb b/app/models/skin_picture.rb
new file mode 100644 (file)
index 0000000..c369eae
--- /dev/null
@@ -0,0 +1,9 @@
+class SkinPicture < ActiveRecord::Base
+  
+  has_attachment :storage => :file_system,
+                 :processor => :Rmagick
+                 
+  validates_as_attachment
+                 
+  
+end

Benjamin Mako Hill || Want to submit a patch?