Skip to content

How To: Turn off trackable for admin users

chrismealy edited this page Jun 8, 2011 · 1 revision

Turn off trackable for admin users:

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