> Firstly SEARCH_COLUMNS_GUESS was updated to include a description in
> the search. This I guess could easily be defined outside of Hobo.

Agreed - 'description' is a good column to include in the guess -- added

> But I also made some changes to find_by_search in hobo.rb, and
> site_search in controller.rb in order to
> a) exclude model(s) from the search by defining search_targets and
> passing to find_by_search
> b) refine the search by adding conditions based on current_user

This functionality really needs an overhaul. It's was added to Hobo  
very early on and has hardly changed. Now that we have nice things  
like scopes it should be possible to do something much more flexible  
without putting a great deal of work into it...

Tom


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to