README.markdown in soulmate-1.0.0 vs README.markdown in soulmate-1.1.0
- old
+ new
@@ -108,9 +108,17 @@
gem 'rack-contrib'
gem 'soulmate', :require => 'soulmate/server'
Then you can query soulmate at the /sm url, for example: http://localhost:3000/sm/search?types[]=venues&limit=6&term=kitten
+You can also config your redis instance:
+
+ # config/initializers/soulmate.rb
+
+ Soulmate.redis = 'redis://127.0.0.1:6379/0'
+ # or you can asign an existing instance of Redis, Redis::Namespace, etc.
+ # Soulmate.redis = $redis
+
### Rendering an autocompleter
Soulmate doesn't include any client-side code necessary to render an autocompleter, but Mitch Crowe put together a pretty cool looking jquery plugin designed for exactly that: <a href="https://github.com/mcrowe/soulmate.js">soulmate.js</a>.
Contributing to soulmate