#RubyOnRails - 24 April 2019
« Back 1 day Forward 1 day »
[09:29:44] marahin: Hello. I'm writing a gem that can also be hooked up with the Rails application. I'd like this gem to also Mime::Type.register when its hooked in the Rails app. Is that a good approach? Or should it have a generator that would create an explicit initializer file with that line?
[13:09:55] noob_on_rails: hey all! :) anyone has any idea why this happens? https://gist.github.com/frcake/50fe42845564f260949e90da6c0e9196a
[14:55:29] nakuku: Hey guys. What happens after Rails bails out and returns 500 - Internal Server Error? Puma worker has to restart then? Ofc i should handle all exceptions as close to where it was raised to avoid this behavior but answer would be appreciated.