Treasure Data collector plugin for Rails
Getting Started
Add the following line to your Gemfile:
gem 'trd-rails-collector'
For Rails 2.x (not tested) without Bundler, edit environment.rb
and add to the initalizer block:
config.gem "trd-rails-collector"
And then add config/treasure_data.yml
file as following:
defaults: &defaults
apikey: "YOUR_API_KEY"
database: myapp
table: access
test:
<<: *defaults
development:
<<: *defaults
production:
<<: *defaults
Copyright
- Copyright
-
Copyright © 2011 Treasure Data Inc.
- License
-
Apache License, Version 2.0