Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
Added info about on_assignment to docs (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
frostmark authored Jan 30, 2022
1 parent 3a66c85 commit d61b2e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/configuring.textile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Available configuration options are:
| cookie_path | The path of the cookie | @nil@ |
| cookie_secure | The secure (ssl-only) parameter of the cookie. | @false@ |
| cookie_httponly | The httponly parameter of the cookie | @false@ |
| on_assignment | A proc that called when a new assignment is made for the experiment | @nil@ |

When "running under Rails":rails.html, Vanity defaults to using the Rails logger, locates the load_path relative to Rails root, uses the @config/vanity.yml@ configuration file (if present) and turns collection on only in production mode.

Expand Down

0 comments on commit d61b2e1

Please sign in to comment.