Skip to content

tsvector helpers + RBS type signatures

Compare
Choose a tag to compare
@drnic drnic released this 31 Oct 21:50
· 20 commits to develop since this release
  • SearchCraft::TextSearch module added to Builder which provides tsvector helpers. See test_text_search.rb for examples.

  • RBS type signatures

  • Convenience Config.explicit_builder_classes = {"Builder" => "Model"} if you need to explicitly describe your Builder + Model classes and they are 1:1

  • Override default table name for ViewHashStore with:

    SearchCraft.configure do |config|
      config.view_hash_store_table_name = "'my_schema'.'my_table_name'"`
    end

Fixes:

  • Fixes for users of SearchCraft.config.explicit_model_class_names on initialization