Sha256: 256ffc1443831eab6f953c9c8dfc3046bfd8068756381a691f4758601c94cbaa
Contents?: true
Size: 685 Bytes
Versions: 1
Compression:
Stored size: 685 Bytes
Contents
# -*- encoding : utf-8 -*- # this triggers mongoid to load rails... # module Rails; end require_relative 'testing' require_relative '../lib/mongoid-fts.rb' Mongoid::FTS.connect! Mongoid::FTS.reset! class A include Mongoid::Document include Mongoid::FTS field(:content, :type => String) def to_s; content; end field(:a) field(:b) field(:c) end class B include Mongoid::Document include Mongoid::FTS field(:content, :type => String) def to_s; content; end field(:a) field(:b) field(:c) end class C include Mongoid::Document include Mongoid::FTS field(:content, :type => String) def to_s; content; end field(:a) field(:b) field(:c) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongoid-fts-2.0.0 | test/helper.rb |