Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Kithe::Indexable against plain old ActiveRecord model #99

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion guides/solr_indexing.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ Alternately or additionally, we could use some of the concurrency built into tra

## Use with non Kithe::Model ActiveRecord classes?

While Kithe::Indexable was developed for use with `Kithe::Model` (your collections, works, and assets), it's implementation should be independent of it. (Although we aren't currently testing that).
While Kithe::Indexable was developed for use with `Kithe::Model` (your collections, works, and assets), it's implementation is independent of it, should work mixed into any ActiveRecord model, and is currently tested to do so.

Just add `include Kithe::Indexable` to any ActiveRecord::Base class, and you should get all the indexing functionality documented above for any arbitrary ActiveRecord model.

Loading