Skip to content

Instantly share code, notes, and snippets.

@vinhboy
Created February 26, 2010 19:01
Show Gist options
  • Save vinhboy/316030 to your computer and use it in GitHub Desktop.
Save vinhboy/316030 to your computer and use it in GitHub Desktop.
condition += ' AND (subscribers.subdomain LIKE \'%'+params[:search][:term]+'%\' OR subscribers.name LIKE \'%'+params[:search][:term]+'%\')'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment