merb and rmagick thumbnails

F

Florian Schaf

Hi
I'm playing around with a merb app to upload images. The upload works
fine and the images are copied from the temporary directory into an
uploads directory in the merb root with the original filename. now i
want to create thumbnails using RMagick, but when I add the code, I get
an internal server error when i try to load page:

Internal server error 500
uninitialized constant Photos::photo

You can view my model, controller and views at here:
http://pastie.caboo.se/160545
Thank you for your help
Flo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top