RubyonRails_newbie wrote:
> Update: I seem to have some success in returning a value in the log,
> but it still isn't  displaying it in the browser..
> 
> the log shows
> 
> total hits: 2, results delivered: 2
> 
> however, why is the data not displaying in the browser?
> 
> Here's how my controller looks so far:
> 
> 
> def search
> 
>     @title = " Search"
>     if params[:q]
>     query = params[:q]
>     # First find the user hits...
> 
>     users = User.find_with_ferret(query, :limit => :all)
> 
>   @users = users.collect { |user| info.user }

Did you mean user.info ?
> 
> 
>   end
> 
> 
> so the log finds 2 records, but nothing visible to the user.. any
> ideas?
> 
> 
> On 27 Oct, 20:42, RubyonRails_newbie <[email protected]>
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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