Sha256: d9d5135484fedc94e1c6451475b9096d497854a5246540c4abfd77b59fb2c9a0
Contents?: true
Size: 459 Bytes
Versions: 19
Compression:
Stored size: 459 Bytes
Contents
module Sunspot #:nodoc: module Rails #:nodoc: # # This module adds an after_filter to ActionController::Base that commits # the Sunspot session if any documents have been added, changed, or removed # in the course of the request. # module RequestLifecycle class <<self def included(base) #:nodoc: base.after_filter do Sunspot.commit_if_dirty end end end end end end
Version data entries
19 entries across 19 versions & 6 rubygems