Module: VisitsHelper

Defined in:
app/helpers/visits_helper.rb

Overview

== Schema Information

Table name: visits

id :uuid not null, primary key
visitor_id :uuid
ip_legacy :string
user_agent :text
referrer :text
landing_page :text
user_id :integer
referring_domain :string
search_keyword :string
browser :string
os :string
device_type :string
screen_height :integer
screen_width :integer
country :string
region :string
city :string
utm_source :string
utm_medium :string
utm_term :string
utm_content :string
utm_campaign :string
started_at :datetime
latitude :decimal(10, 6)
longitude :decimal(10, 6)
postal_code :string
ip :inet
referral_code :string

Instance Method Summary collapse

Instance Method Details

#human_event_name(name) ⇒ Object



37
38
39
40
41
# File 'app/helpers/visits_helper.rb', line 37

def human_event_name(name)
  #Strip $
  name[0] = ''
  name.titleize
end