diff --git a/lib/xapian_db/railtie.rb b/lib/xapian_db/railtie.rb
index <HASH>..<HASH> 100644
--- a/lib/xapian_db/railtie.rb
+++ b/lib/xapian_db/railtie.rb
@@ -40,5 +40,11 @@ module XapianDb
 
     end
 
+    config.to_prepare do
+      # Load a blueprint config if there is one
+      blueprints_file_path = "#{Rails.root}/config/xapian_blueprints.rb"
+      load blueprints_file_path if File.exist?(blueprints_file_path)
+    end
+
   end
 end
\ No newline at end of file
fixed the problem that initializers in development are loaded only once, not for every request