lib/pg_search/features.rb in pg_search-0.5.1 vs lib/pg_search/features.rb in pg_search-0.5.2
- old
+ new
@@ -1,7 +1,9 @@
module PgSearch
module Features
+ autoload :Feature, "pg_search/features/feature"
+
+ autoload :DMetaphone, "pg_search/features/dmetaphone"
+ autoload :Trigram, "pg_search/features/trigram"
+ autoload :TSearch, "pg_search/features/tsearch"
end
end
-require 'pg_search/features/dmetaphone'
-require 'pg_search/features/trigram'
-require 'pg_search/features/tsearch'