From 5308ec1f3c3c9e6ebbb6a7671ed5c312eac10a69 Mon Sep 17 00:00:00 2001 From: "rodrigo franco (caffo)" Date: Sat, 28 Feb 2009 21:31:50 -0300 Subject: [PATCH] Attached covers are now properly validated --- app/models/book.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/book.rb b/app/models/book.rb index c048264..5c3f285 100644 --- a/app/models/book.rb +++ b/app/models/book.rb @@ -33,6 +33,7 @@ class Book < ActiveRecord::Base :bucket => 'bookqueue-development', :path => ":attachment/:id/:style.:extension" + validates_attachment_thumbnails :cover acts_as_state_machine :initial => :next state :next