update search engine template to use new syntax
add rails search engine