Skip to content

Commit

Permalink
Attached covers are now properly validated
Browse files Browse the repository at this point in the history
  • Loading branch information
caffo committed Mar 1, 2009
1 parent 9800d39 commit 5308ec1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/book.rb
Expand Up @@ -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
Expand Down

0 comments on commit 5308ec1

Please sign in to comment.