Permalink
Browse files

store event_name as string

  • Loading branch information...
jacquescrocker committed Jun 7, 2011
1 parent ee2c7ca commit 7136fd7917bef91868793ef5fddb2777e5f3a4c4
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/aarrr/session.rb
View
@@ -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"],

0 comments on commit 7136fd7

Please sign in to comment.