def associative_create_statement(query_params={})
      filter = ActionDispatch::Http::ParameterFilter.new(Rails.application.config.filter_parameters)
      query_params.reverse_merge!(
        :controller_name => controller_name,
        :action_name => action_name,
        :user_id => user_id,
        :request_hash => @impressionist_hash,
        :session_hash => session_hash,
        :ip_address => request.remote_ip,
        :referrer => request.referer,
        :params => filter.filter(params_hash)
        )
    end
def associative_create_statement(query_params={})
      filter = ActionDispatch::Http::ParameterFilter.new(Rails.application.config.filter_parameters)
      query_params.reverse_merge!(
        :controller_name => controller_name,
        :action_name => action_name,
        :user_id => user_id,
        :request_hash => @impressionist_hash,
        :session_hash => session_hash,
        :ip_address => request.remote_ip,
        :referrer => request.referer,
        :params => filter.filter(params_hash)
        )
    end
creates a statment hash that contains default values for creating an impression via an AR relation.