Kim Burgestrand

Results 97 comments of Kim Burgestrand

Unless it's far too controversial I'd like to be able to remove the singleton methods on `Pundit` class in the future, and instead call them through a `Pundit::Context`. This is...

@mattzollinhofer I've added some more commits to kinda hint at where I'm going at. A change I haven't gotten to is passing _more_ information to `policy_cache.fetch`, at least the `user`...

Another idea I had for this is some shortcuts to how one could override the default behavior in specific controllers, e.g: ```ruby class AdminControllerBase < ApplicationController def pundit @pundit ||=...

I'm not sure how to fix this, but I think I'd like to know how? I can't investigate further today, so this PR is really just a PSA. However, the...

Worth mentioning is that in this particular case I could fix it by changing to `render "tracking"`, and that this might in some way be related to https://github.com/phlex-ruby/phlex-rails/issues/137?

Wow, that is interesting. I can replicate the always-crashing thing on my computer as well when using Hallon. However, using only the raw [spotify gem](https://github.com/Burgestrand/spotify), with the [audio stream example...

The Playlist#upload method is a bit spotty at best, unfortunately, and it does not really do anything apart from wait. libspotify is the main workhorse, and while your application is...

I vaguely remembers reports of this callback being broken; however, I just tried the playing_audio example and it successfully got the end_of_track callback (at the end of the song it...

@FWMatt in that case it behaves as expected, because of the player overriding the callback to know when the track has finished playing. I’ll be closing this issue on lack...