You could just use SQL if your needs are very simple. It's a straightforward solution, just do a query using LIKE and wildcards, but be careful not to open your app to SQL injection.
If that's not enough, several databases have full text search, which may or may not be good. The next step is to use something like Sphinx to index your data, but here it becomes quite complex. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/pls4RWzY0AQJ. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.