search for: image_capt

Displaying 1 result from an estimated 1 matches for "image_capt".

2006 Jan 25
1
url_for_file_column in parent model''s view
...lper. Here is what I have so far: <% for image in @book.images %> <label for="image_name">Image:</label> <div class="reviewfield"><% url_for_file_column image, image.name, "thumb" %> </div><br /> <label for="image_caption">Caption</label> <div class="reviewfield"><%= image.caption %></div><br /> <% end %> Which produces the following error: You have a nil object when you didn''t expect it! The error occured while evaluating nil.image.name_relative...