Skip to content

nateware/simple_search_like

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Search - Easy ActiveRecord searching with hashes

There is a newer project, scoped_search, which I would recommend instead. This exists for backwards compatibility. See: Scoped Search

This gem is incompatible with the "simple_search" gem.

Example

require 'simple_search'

class User < ActiveRecord::Base
end

User.simple_search(:name => 'bob')
User.simple_search_like('bob', [:name, :description])

Author

Copyright (c) 2010 Nate Wiger. See LICENSE for details.

About

Easy ActiveRecord searching with hashes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages