Try setting search_sql  to be project_managers.login and
account_managers.login

On Aug 28, 5:53 am, Siddu <[EMAIL PROTECTED]> wrote:
>  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