How To: Turn off trackable for admin users

chrismealy edited this page Jun 8, 2011 · 1 revision
Clone this wiki locally

Turn off trackable for admin users:

class User < ActiveRecord::Base
  def update_tracked_fields!(request)
    super(request) unless admin?
  end
end