Shouldn't this be:  `allow_logging = "#{method}?".to_sym`?