graphiti-api / graphiti-rails

MIT License
54 stars 28 forks source link

Failure when log_level is a symbol #46

Closed mkamensky closed 4 years ago

mkamensky commented 4 years ago

https://github.com/graphiti-api/graphiti-rails/blob/d4a7bcf5ae39c21c7baa768d60e83bc3f2f70617/lib/graphiti/rails/railtie.rb#L40

The level could be a symbol here, which does not respond to zero?. I suggest replacing it with blank?

wagenet commented 4 years ago

@mkamensky can you make a PR?