Within the head, add in the defaults so we can use protoype, which is required by lightbox.js and add in the css and js for lightbox.
In the view:
<% @images.each do |image| %><br />    <a href="<%= image_path(url_for_file_column(image, "image")) %>" rel="lightbox" title="<%= h(image.caption) %>"><br />    <%= image_tag url_for_file_column(image, "image", "thumb") %> </a><br /> <% end %>
onload="initLightbox()" and that will do it.
Now grab a glass of milk and finish your cake. Non-fat if you sit in front of a monitor all day.