Paperclip validates_attachment_content_type not working?

Hi,

I'm using the paperclip gem to upload photos.
I'm trying to use the content-type validator in my photo-model but
it's not working.
Photo upload with just the file-size validator works.

What could this be?
Here's my code:
http://pastebin.com/1nGfgmtN

Thanks,
Mathew

Apparently it has to do with 'uploadify' using another content type.
Still looking how to whitelist the image content types

Grts,
Mathew