Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

store event_name as string

  • Loading branch information...
commit 7136fd7917bef91868793ef5fddb2777e5f3a4c4 1 parent ee2c7ca
@railsjedi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/aarrr/session.rb
View
2  lib/aarrr/session.rb
@@ -55,7 +55,7 @@ def track!(event_name, options = {})
# add event tracking
result = AARRR.events.insert({
"aarrr_user_id" => self.id,
- "event_name" => event_name,
+ "event_name" => event_name.to_s,
"event_type" => options["event_type"],
"in_progress" => options["in_progress"] || false,
"data" => options["data"],
Please sign in to comment.
Something went wrong with that request. Please try again.