Class: Spree::Tracker

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

Class Method Summary collapse

Class Method Details

.currentObject



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

def self.current
  first(:conditions => { :active => true, :environment => Rails.env })
end