Sha256: 2635cd0701d3cde28d457c6211e755c7f02cfae2f58ac2cb4706738971de530b

Contents?: true

Size: 1.43 KB

Versions: 4

Compression:

Stored size: 1.43 KB

Contents

# This file contains the nessesary configuration options for RetentionMagic.

# ==> User Class
# The user class that is used by RetentionMagic. The records of this class
# will be tracked and automatically devided into monthly cohort groups.
RetentionMagic.user_class = "User"

# ==> Activation Counters
# This is a list of columns that contain counters towards a user's activation
# actions over the total lifetime of the user.
#
# For example, when you have a blogging app and the number of posts someone
# writes is an important metric for your app you would specify:
#
#   RetentionMagic.activation_counter_columns = [ :posts_count ]
#
# These column need to be present on the model you specified as user_class.
# For example, you can use Rails counter_cache on a Post=>belongs_to=>User
# relation to keep the posts_count column up-to-date.
#
RetentionMagic.activation_counter_columns = [ ]

# ==> Retention Models
# This is the list of model class names that you want to track retention for.
# RetentionMagic will use the model's created_at column to build a retention
# graph for your users. If you add more than one model, any of them count
# towards the retention of your user.
#
# For example, when you run a blogging app or maybe a forum app and writing
# posts and commenting on other people's post is your metric for activation,
# you would specify:
#
#   RetentionMagic.retention_models = %w( Post Comment )
#
RetentionMagic.retention_models = %w()

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
retention_magic-0.1beta3 lib/generators/retention_magic/templates/initializer.rb
retention_magic-0.1beta3 test/dummy/tmp/generators/config/initializers/retention_magic.rb
retention_magic-0.1beta2 lib/generators/retention_magic/templates/initializer.rb
retention_magic-0.1beta2 test/dummy/tmp/generators/config/initializers/retention_magic.rb