Class: Tracker
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Tracker
- Defined in:
- app/models/tracker.rb
Class Method Summary collapse
Class Method Details
.current ⇒ Object
2 3 4 |
# File 'app/models/tracker.rb', line 2 def self.current Tracker.find(:first, :conditions => {:active => true, :environment => ENV['RAILS_ENV']}) end |