3rd-party Integration
NoBrainer can be extended to support other functionnality and play nicely with other gems. The following describes such gems.
Devise
devise-nobrainer is an adapter to make Devise work nicely with NoBrainer.
If devise does not work, make sure that your config/initializers/devise.rb
file
contains require 'devise/orm/nobrainer'
.
CarrierWave
carrierwave-nobrainer is an adapter for CarrierWave. CarrierWave associate uploaded files to models.
Awesome Print
awesome_print pretty prints objects. NoBrainer is supported natively.
Searchkick
Searchkick learns what your users are looking for. As more people search, it gets smarter and the results get better. It’s friendly for developers - and magical for your users. NoBrainer is supported natively. This gem relies on ElasticSearch.
Kaminari
Kaminari is a paginator. NoBrainer is supported through the kaminari-nobrainer adaptor.
NoBrainer::Tree
nobrainer-tree implements a tree structure for NoBrainer documents using the materialized path pattern.
Note: The data structures used may lead to data inconsistencies in the face of network partitions as this implementation would need transactions or 2pcs.
DelayedJob
delayed_job_nobrainer is a backend for DelayedJob. DelayedJob implements delayed background tasks into Rails and is one of the Backends for ActiveJobs.