README.md in rakismet-1.3.0 vs README.md in rakismet-1.4.0

- old
+ new

@@ -13,11 +13,17 @@ **Rakismet <= 0.4.2** is compatible with Rails 2. Getting Started =============== -Once you've installed the Rakismet gem and added it to your application's Gemfile, +Add the Rakismet gem to your Gemfile + +```ruby +gem 'rakismet' +``` + +Once you've added the Rakismet gem to your Gemfile and installed it with ``bundle install``, you'll need an API key. Head on over to http://akismet.com/signup/ and sign up for a new username. Configure the Rakismet key and the URL of your application by setting the following in application.rb: @@ -42,9 +48,15 @@ firewall), set the proxy_host and proxy_port option. ```ruby config.rakismet.proxy_host = 'http://yourdomain.com/' config.rakismet.proxy_port = '8080' +``` + +If your Rails app is a multitenant application, you can specify your Rakismet url as a proc: + +```ruby +config.rakismet.url = Proc.new { ApplicationController.current_tenant.url } ``` Checking For Spam -----------------