Howdy. Question regarding active storage: Once can obtain blob paths to stuff attached to a model with active storage using rails_blob_path, e.g. rails_blob_path(user.avatar). How does one obtain rails_blob_path to a variant, e.g. user.avatar.variant(resize: 128)?
Hello. Somewhat stupid question: How do I test 3rd party call to my rails api (webhook to my api) triggered by my app? I'd like to test a scenario when I authorized my app with 3rd party, and then 3rd party will asynchronously send data via webhooks. VCR records the per socket http conversation. I'd like to capture that webhook somehow and the headers and replay it during the test.
ramfjord: for more lightweight mechanism with just plain pubsub mqtt might fit the bill. zmq may feel a bit heavy with all the extra patterns you might not want/nee
nicksloan: I'm with segfalt. I bake my RPM and distribute it from private repo via automation framework. I actually take it one step further as I bake the RPM from the app, since I have to distribute apps to Internet reachable hosts.
Hello all! Has anyone ever tried to use ZeroMQ from Rails while running either unicorn or puma? ZeroMQ needs per process object context created before creating sockets. Was thinking that I could create a global object in initializers, but don't know how to tie in the per-process part. Is this more of a #unicorn question?