Code i used for searching in users table
    config.columns[:project_manager].search_sql = 'users.login'
    config.search.columns << :project_manager
    config.columns[:account_manager].search_sql = 'users.login'
    config.search.columns << :account_manager
 project_manager and account_manager are columns which are associated
to
the same table called users.

This code is searching only for the project_manager.

I have to search on both columns...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---


Reply via email to