# Does anyone how to customize search query\>?

**URL:** <https://www.ruby-forum.com/t/does-anyone-how-to-customize-search-query/120662>\
**Category:** Rails\
**Created:** [November 19, 2007, 4:52pm UTC](https://www.ruby-forum.com/t/does-anyone-how-to-customize-search-query/120662 "2007-11-19T16:52:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Selvan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@Selvan](https://www.ruby-forum.com/u/Selvan)\
**Post date:** [November 19, 2007, 4:52pm UTC](https://www.ruby-forum.com/t/does-anyone-how-to-customize-search-query/120662/1 "2007-11-19T16:52:45Z")

</div>

i wanted to customise the defaulte search to have my own fileds -  
based on teh user selecting the fields the query should dynamically  
pick up and return search. i need this to be done in ActiveScaffold  
plugin.

does any one know how to do this and share sample code?

–selvan
