Ruby on Rails Application
I'm trying to 开发者_JAVA百科create the following application with ruby on rails programming: application that displays a page of thumbnail images with each thumbnail linked to a corresponding full-sized image. When the user clicks on the thumbnail, the application will display the images. I downloaded sqlite3 as a database. I tried to do different procedures. I used scaffolding and migrations but I cannot make it to work. Can you please tell me how to do this?
Thanks
Paperclip gem shall do the job. The railscasts is bit old and you may refer to github for various updates.
https://github.com/thoughtbot/paperclip/wiki
http://railscasts.com/episodes/134-paperclip
精彩评论