Class: Tracker

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/tracker.rb

Class Method Summary collapse

Class Method Details

.currentObject



2
3
4
# File 'app/models/tracker.rb', line 2

def self.current
  Tracker.find(:first, :conditions => {:active => true, :environment => ENV['RAILS_ENV']})
end