search for: new_pictur

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

Did you mean: new_pictures
2006 Mar 13
6
lame newbie question: how to pass instance variables
...new pics I found when calling scan_directory @new_pics = Picture.load_directory(".") flash[:notice] = "Original image directory was refreshed #{@new_pics.length} new images found" redirect_to :controller => ''picture'', :action => ''list_new_pictures'' end def list_new_pictures # Is this how I should use a paginator when my list is not from the db? # Note that I get an exception here, because @new_pics is always nil! @picture_pages = Paginator.new self, @new_pics.count, 12, @params[''page''] @p...