def user_for_draftsman
      return unless defined?(current_user)
      ActiveSupport::VERSION::MAJOR >= 4 ? current_user.try!(:id) : current_user.try(:id)
    rescue NoMethodError
      current_user
    end
def user_for_draftsman
      return unless defined?(current_user)
      ActiveSupport::VERSION::MAJOR >= 4 ? current_user.try!(:id) : current_user.try(:id)
    rescue NoMethodError
      current_user
    end
Returns the user who is responsible for any changes that occur.
 By default this calls `current_user` and returns the result.

 Override this method in your controller to call a different
 method, e.g. `current_person`, or anything you like.