jaeksoft/oss_active_record — pull request #6 by ysbaddaden (2013-10-07 18:48:55+00:00)
Title: Fixes & optimizations to Searchable

Here come some corrections & optimizations to OSS AR :)

- Loading all records from the database at once + manual reordering to match OSS result.
- Added :include option to #oss_search & #find_results to eager load associations.
- Using after_commit instead of after_save for indexing documents.

Other minor things:

- Renamed #search to #oss_search (with alias) for simpler custom searches in models.
- Overall ruby syntax & functional code refactoring.