johnhamelink
9/14/2016 - 8:50 PM

session.rb


  def has_ios?
    devices.exists?(device_type: :ios)
  end

  def has_android?
    devices.exists?(device_type: :android)
  end