```ruby
module Spree
  class Tracker < ActiveRecord::Base
    def self.current
      first(:conditions => { :active => true, :environment => Rails.env })
    end
  end
end
```

Make analytics_id, :environment and :active mass-assignable for Tracker objects
user
```ruby
module Spree
  class Tracker < ActiveRecord::Base
    attr_accessible :analytics_id, :environment, :active

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