class RuboCop::Cop::Rails::SaveBang

def expected_signature?(node)

Check argument signature as no arguments or one hash
def expected_signature?(node)
  return true unless node.arguments?
  return false if !node.arguments.one? || node.method?(:destroy)
  node.first_argument.hash_type? || !node.first_argument.literal?
end