Rida Al Barazi (rbarazi)
- Rida has 1 plugin published and has 0 fans on Railsify!
- http://www.ridaalbarazi.com
SimplySearchable by Rida Al Barazi (rbarazi) in Utilities, Toolkits, and Miscellaneous
The main goal of SimplySearchable is to help you create a clean url to search in your controller and model. This plugin adds a method to the controller named “search” that will find and filter the model data smartly from the search fields defined in its calling line SimplySearchable recognizes three types of filters: 1. Exact values: like the title in the example above (acts_as_ferret implementation to come soon) 2. Belongs to associations: for those fields that ends with _id, like author_id in the example above 3. Has many association: for those fields that are in plural form, like comments in the example above


