Hello,
Is it possible to make a "join" on an array of objects?
If not, is is possible to return only one column with the find method?

#method
  def self.top_3_words
    Search.find(:all,:limit=>3, :order =>"count desc")
  end

#View
<% if !...@top_search.blank? %>
  <%= @top_search.word.join(",") %> ?????????????????
<% else %>
 <p>No search yet!</p>
<% end %>

Greg
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to