floere/picky — Issue #66: Picky ActiveRecord
Author: floere
Created: 2012-01-05 03:48:09+00:00
State: open
Labels: Frontend, Grave Decisions, Server, Thinkies

Design Guidelines:

* Less than 100 LOC. Else it's over-designed garbage.
* Makes use of the picky client.
* Hooks into after_save, uses #changed.
* Also enables manual triggering of indexing (SomeModel#picky_index with possible alias SomeModel#index, if it doesn't exist already).
* Client offers manual triggering of indexing data (Picky::Client#index(index_name, id, data_hash) or Picky::Client#index(index_name, id_and_data_hash)).

See https://gist.github.com/9c359b2e749e30079d3c for a first draft.