class TaintedLove::Validator::ActionViewObjectSend

Public Instance Methods

remove?(warning) click to toggle source
# File lib/tainted_love/validator/action_view_object_send.rb, line 6
def remove?(warning)
  return unless warning.replacer == :ReplaceObject

  if warning.stack_trace.lines.first[:file]['actionview/template.rb']
    return true
  end
end