Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Paperclip Routing Error

I feel like I've followed the tutorials exactly for this, but when I click on the image link in my app I get the following error message:

"Action Controller: Exception caught

Routing Error

No route matches [GET] "/attachments/original/missing.png"

Does anyone have any idea where I should look for errors/ommissions in my code to fix this routing error?

1 Answer

Check take routes to make sure you have the appropriate route to display the picture.

Also check you model because in there you specify the sizes (original, medium, small, thumbnail) and make sure there are no typos there.