app/controllers/impressionist_controller.rb
# creates a statment hash that contains default values for creating an impression via an AR relation.
creates a statment hash that contains default values for creating an impression via an AR relation.
creates a statment hash that contains default values for creating an impression via an AR relation .
def associative_create_statement(query_params={})
      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 => query_params[:referrer] || request.referer
        )
    end
def associative_create_statement ( query_params = { } ) 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 => query_params [ :referrer ] || request . referer ) end
creates a statment hash that contains default values for creating an impression via an AR relation.
creates a statment hash that contains default values for creating an impression via an AR relation .
query_params
<not_specific>