Skip to Content Skip to Search
Namespace
Methods
I
L

Instance Public methods

ip=(val)

# File app/models/concerns/analytics/locationable.rb, line 3
def ip=(val)
  super
  self.location = Location.for(val)
end

location()

# File app/models/concerns/analytics/locationable.rb, line 8
def location
  ip.present? ? super : nil
end