Sha256: a69cfe2e76a413a9dfc2531a1ab7c1a43bf8568a3785e425ae73cdcc60893e49
Contents?: true
Size: 340 Bytes
Versions: 1
Compression:
Stored size: 340 Bytes
Contents
# hook onto model index creation to create related FT indexes module Mongoid module Indexable module ClassMethods alias create_fulltext_indexes_hook create_indexes def create_indexes create_fulltext_indexes if respond_to?(:create_fulltext_indexes) create_fulltext_indexes_hook end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongoid_fulltext-0.8.2 | lib/mongoid/full_text_search/indexable.rb |