```ruby
class Tuner < ActiveRecord::Base
  has_many :tuner_info, :dependent => :destroy
  has_many :logs
  has_many :stations, :through => :logs

  accepts_nested_attributes_for :tuner_info, :allow_destroy => :true

  acts_as_list
  default_scope :order => "position"
  
  def current
    tuner_info[tuner_info.length - 1]
  end

  def full_name
    "#{tuner_id}:#{tuner_number}"
  end
  
  def logs_since(time_interval)    
    query = RecentLog.where(:tuner_id => id)
    
    query.where('created_at > ? ', time_interval.date_range.begin.utc) unless time_interval.all_interval?
  end
end
```

Fix Tuner.logs_since returning nil for Log.all_interval
user
```ruby
class Tuner < ActiveRecord::Base
  has_many :tuner_info, :dependent => :destroy
  has_many :logs
  has_many :stations, :through => :logs

  accepts_nested_attributes_for :tuner_info, :allow_destroy => :true

  acts_as_list
  default_scope :order => "position"
  
  def current
    tuner_info[tuner_info.length - 1]
  end

  def full_name
    "#{tuner_id}:#{tuner_number}"
  end
  
  def logs_since(time_interval)    
    query = RecentLog.where(:tuner_id => id)
    
    query = query.where('created_at > ? ', time_interval.date_range.begin.utc) unless time_interval.all_interval?
    
    return query
  end
end
```
assistant