Montgomery was one of the first places to enact such a law , but many places , including New York City , now ban smoking in bars .