search for: find_all_

Displaying 2 results from an estimated 2 matches for "find_all_".

Did you mean: find_all
2006 Oct 19
5
find(:all) and find_all_<etc>
Perhaps I''m an idiot and just don''t get it, and perhaps this question has been asked a million times before, but I''m not really sure how to go about searching for an answer to it: Why does my code Library.find(:all, :conditions => "user_id = #{session[:user].id}") return [] instead of nil when there are no results? -- Posted via
2006 Aug 09
8
AJAX image manipulation
I have this code in a controller that returns images to my browser...with ROR. def index @products = Product.find_all_ pictures end ....this is the .rhtml.. <% for photo in @pic -%> <div class="entry"> <img src="<%= photo.image_url %>"/> <h3><%= h(photo.title) %></h3> <%= photo.description %> </div> <% end %> ....c...