From 021594280faafc1422b31f2bf85646b8812e2197 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Fri, 15 May 2009 19:30:29 -0300 Subject: [PATCH] ActionItem305: workaround for importing users --- app/models/thumbnail.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/thumbnail.rb b/app/models/thumbnail.rb index b74df9e..ca36658 100644 --- a/app/models/thumbnail.rb +++ b/app/models/thumbnail.rb @@ -1,5 +1,5 @@ class Thumbnail < ActiveRecord::Base has_attachment :storage => :file_system, - :content_type => :image + :content_type => :image, :max_size => 5.megabytes validates_as_attachment end -- libgit2 0.21.2