Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty Values Tracking Model #261

Open
Hamdan85 opened this issue Nov 17, 2017 · 0 comments
Open

Empty Values Tracking Model #261

Hamdan85 opened this issue Nov 17, 2017 · 0 comments

Comments

@Hamdan85
Copy link

Im tracking a model in my controller by using

impressionist(@real_estate)

but the record created misses some important parameters:

{
                     "id" => 10,
    "impressionable_type" => "RealEstate",
      "impressionable_id" => 16,
                "user_id" => 2,
        "controller_name" => "real_estates",
            "action_name" => "show",
              "view_name" => nil,
           "request_hash" => "062c569989572ee3eb3512ca82953e7c228e13bcebfc483e8a6c9db6100eb510",
             "ip_address" => "127.0.0.1",
           "session_hash" => "7550b8587fea4c2de8f155c077da0b71",
                "message" => nil,
               "referrer" => nil,
                 "params" => {},
             "created_at" => Fri, 17 Nov 2017 02:03:13 -02 -02:00,
             "updated_at" => Fri, 17 Nov 2017 02:03:13 -02 -02:00
}

How can i guarantee that Ill have the referer and params logged correctly?
Am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant