Module: Gricer
- Defined in:
- lib/gricer.rb,
lib/gricer/config.rb,
lib/gricer/engine.rb,
lib/gricer/parsers/ip.rb,
lib/gricer/mongoid/touch.rb,
lib/gricer/parsers/agent.rb,
lib/gricer/parsers/request.rb,
lib/gricer/mongoid/map_reduce.rb,
app/helpers/gricer/base_helper.rb,
app/models/gricer/mongoid/agent.rb,
lib/gricer/active_model/request.rb,
lib/gricer/active_model/session.rb,
lib/gricer/mongoid/counter_cache.rb,
app/models/gricer/mongoid/request.rb,
app/models/gricer/mongoid/session.rb,
lib/gricer/action_controller/base.rb,
lib/gricer/action_controller/track.rb,
lib/gricer/active_model/statistics.rb,
app/models/gricer/active_record/agent.rb,
app/controllers/gricer/base_controller.rb,
lib/gricer/active_record/limit_strings.rb,
app/models/gricer/active_record/request.rb,
app/models/gricer/active_record/session.rb,
app/controllers/gricer/capture_controller.rb,
app/controllers/gricer/requests_controller.rb,
app/controllers/gricer/sessions_controller.rb,
app/controllers/gricer/dashboard_controller.rb
Overview
Gricer is a web analytics gem for Rails 3.1 and beyond
Defined Under Namespace
Modules: ActionController, ActiveModel, ActiveRecord, BaseHelper, Mongoid, Parsers, TrackHelper Classes: BaseController, CaptureController, Config, DashboardController, Engine, RequestsController, SessionsController, TrackRequestFilter
Class Method Summary collapse
-
.config ⇒ Gricer::Config
To access the actual configuration of your Gricer, you can call this function.
-
.configure {|config| ... } ⇒ Gricer::Config
To initialize Gricer it is handy to give it a block of options.
Class Method Details
.config ⇒ Gricer::Config
To access the actual configuration of your Gricer, you can call this function.
An example would be Gricer.config.table_name_prefix = 'stats_'
See Gricer::Config for configuration options.
41 42 43 |
# File 'lib/gricer.rb', line 41 def config @config ||= Config.new end |
.configure {|config| ... } ⇒ Gricer::Config
To initialize Gricer it is handy to give it a block of options.
See Gricer::Config for configuration options.
52 53 54 |
# File 'lib/gricer.rb', line 52 def configure(&block) config.configure(&block) end |