Sha256: 2b01f9d5d182fe66b97b056df2ed3393be89a29e9dca5a116c73b6f94d963edd
Contents?: true
Size: 316 Bytes
Versions: 15
Compression:
Stored size: 316 Bytes
Contents
# hook onto model index creation to create related FT indexes module Mongoid::Indexes::ClassMethods alias_method :create_fulltext_indexes_hook, :create_indexes def create_indexes create_fulltext_indexes if respond_to?(:create_fulltext_indexes) create_fulltext_indexes_hook end end
Version data entries
15 entries across 15 versions & 1 rubygems