projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
app/models/skin_picture.rb
@@ -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?