Yet another photo gallery (rails application)