schristm
schristm
In case it's helpful for anyone else, this is what's working for me to make Turbo work with Responders. Inside **application_responder.rb:** ```ruby def initialize(controller, resources, options = {}) super if...
That was a really great explanation, and makes total sense. Thank you for your response!
I do have one other question, if I may. Is there a preferred way of encapsulating multiple Interactors within one ActiveRecord transaction so that no database changes are committed, where...
> One side effect of my approach is that I find I sometimes need to add empty files like `update.turbo_stream.erb` so that I get a turbo response rendered (mine renders...
Here's my TurboResponder in case it helps. ```ruby module TurboResponder def initialize(controller, resources, options = {}) super if turbo_stream_request? options[:formats] ||= [:turbo_stream, :html] end end delegate :helpers, :url_for, to: :controller...
Ah, I see. When I'm returning `:no_content`, a flash isn't usually necessary. I have `create.turbo_stream.erb`, `update.turbo_stream.erb`, and `destroy.turbo_stream.erb` in my `app/views/application/` path, which handles modals for default controller behavior. When...
This would be a great feature
> With code-server pretty much not having any understanding of users you could also deploy something like https://github.com/vouch/vouch-proxy in front of it. > > For my own deployment I am...
> One container per person in a docker swarm... > > This is already being done to isolate students in individual software development environments for 200+ students in university web...
That's awesome, @antofthy! Thanks so much for sharing. I'm sure this will be helpful for others.