Added environment check in Active Admin Editor initializer