README.rdoc in mixpanel-0.6.0 vs README.rdoc in mixpanel-0.6.1

- old
+ new

@@ -14,9 +14,15 @@ gem install mixpanel == How to use it with a Rails application? +In your environment config file add this. + + Rails::Initializer.run do |config| + + config.middleware.use "MixpanelMiddleware", "YOUR_MIXPANEL_API_TOKEN" + In your application_controller class add a method to instance mixpanel. before_filer :initialize_mixpanel def initialize_mixpanel