Welcome Guest

Ruby Plus

Free Ruby and Rails Screencasts
Navigation: Home | Services | Mentoring | Login | Signup | Archive | RSS Feed

Search

 

Services

Hire Us

Become a Member

Sign up for free membership and get notifications for members only free Ruby and Rails screencasts. Privacy

Rails Meetup

If you live in the bay area, check out South Bay Ruby on Rails Meetup

Home Office

For those who are curious, here is my Home Office

Recommend Me

Recommend Me

Please Support

Greenpeace

Subscribe to RSS

Bookmark this Site

Required

Get Quicktime Player
92
July 05, 2008
Discuss

Extremely Simple Photo Album in Rails

I had looked at Gullery, WebAlbum and Photo Album in Ajax on Rails books among others.

I will show you how to create a photo album with slide show in a RESTful way. I will include the source code as part of the download.

Exercise

  1. You can extend this album so that the photo upload does not tie up the Mongrel process by using Background DRB, Merb etc.
  2. Add the feature where users can only add/edit photos to their album.
  3. When a photo is added instead of displaying the album index page, display the album show page so that users can continue uploading photos.

Resources

File uploads via Merb inside a Rails application 

 User Feedback

It seems you didn't copy the slider.js and sound.js files into the javascripts directory for the simple photo album and that is causing 2 errors to be thrown into the log. I'm not sure where you are using scriptaculous, as I was able to just remove that include line and everything still seemed to be working, but since I assume there is a reason you intentionally included I kept tooking and found that the download of scriptaculous does include those files and for some reason the download from you did not. Anyways, thanks for the video and sample project, keep up the good work!

Signup now to download the episode for free.

Recommend Me
Privacy Policy | Site Map
Copyright © 2007 - 2008, rubyplus.org