Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content
Stack Overflow
  1. About
  2. OverflowAI
Loading…
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives
20 questions
Filter by
Sorted by
Tagged with
1vote
1answer
148views

Rails wisper-sidekiq is not working for asynchronous jobs

can someone help me with this,I added wisper-sidekiq in my gemfile, and when I tried to broadcast event with async: true it is failing with errorPsych::DisallowedClass:Tried to load unspecified ...
m.sahil Kumar's user avatar
0votes
0answers
69views

ActiveRecordNotFound on wisper publish

We have a model ChatRoom which has many messages, the ChatRoom implements add_message and receives the parameters for the message along with a boolean notify which specifies whether we should send an ...
0votes
1answer
582views

How can I catch the response on request and then execute something?

I have an application in which I have the END-point where the request is sent by another service to collect requests from my application to this service. This service then executes requests and sends ...
Georgiy Melnikov's user avatar
1vote
1answer
147views

Is it possible to integrate wisper with Ruby GraphQL?

I am looking to integrate wisper with my existing graphql api only ruby on rails project. Just wondering if there is any way to broadcast events from graphql mutations?module Mutations module Order...
Mehnaz Bano's user avatar
0votes
1answer
216views

Is it possible to have one subscription apply to multiple listeners with Wisper?

I have a service that broadcast an event when some criteria is satisfied. I also have several customer specific services. I want the customer services to be notified of the event. However, I would ...
David's user avatar
2votes
1answer
374views

Use object created inside RSpec expect block in assertion

I'm trying to write a test where I need the value created by the expected block to write the assertion.class Identification < ApplicationRecord include Wisper::Publisher after_save :...
TheVTM's user avatar
  • 1,590
0votes
0answers
256views

how to pass data from api to other controller in rails?

I have a api which accepts and saves data in rails.I would like to get that data on the current UI as flash how to do it ?I tried to wisper gem and flash alerts are not supported. $ cat app/...
Kiran Patil's user avatar
0votes
1answer
216views

Rails "test" environment has access to non-included methods

I'm using the fantastic wisper gem to react to changes in my models(Rails 4.1).Class Transaction < ActiveRecord::Base #include Wisper::Publisher after_save { broadcast(:transaction_saved)}...
lllllll's user avatar
  • 4,855
0votes
1answer
179views

Is it possible to handle Global Listeners Async using Wisper?

I am looking at implementing Wisper into an existing Rails application... I have been running the examples as a POC and I don't see a way to set up Events to be asynchronous when setting up listeners ...
El Guapo's user avatar
0votes
1answer
559views

Wisper: unsubscribing GlobalListeners between requests

I want to register a global listener in my ApplicationController, that contains the current_user. I ended up trying this:class ApplicationController < ActionController::Base before_action do ...
bugzpodder's user avatar
1vote
1answer
966views

Rails Wisper skip listener callback

I use Rails Wisper gem and I want to execute listener callback (which sends email) only during specific tests (where I test email sending). In other tests I don't want to send emails even if in ...
jmarceli's user avatar
1vote
1answer
452views

Rails spring wisper listener method caching

It turns out that Spring caches my wisper listener method (I'm writing quite simple Engine).Example:app/models/myengine/my_class.rbclass Myengine::MyClass include Wisper::Publisher def ...
jmarceli's user avatar
7votes
1answer
2kviews

rails-observers vs wisper gem

Are there any benefits of using wisper gem over rails-observers?They both looks quite similar at first sight, but wisper seems to be more supported by community (based on GH stars, commits and ...
3votes
1answer
582views

Wisper and Grape return results from a POST request

I have a simple POST Grape endpoint with Wisper pub/sub in a background:module Something class Doit < Grape::API post :now do service = SomePub.new service.subscribe(SomeSub.new)...
2votes
1answer
2kviews

rails wisper under test

I have a project which used wisper https://github.com/krisleech/wisper to provide publisher and subscribers functionalities.The gem works perfectly under development and production modes. However, ...
FatSheep's user avatar

153050per page
1
2

Related Tags

 × 17
 × 6
 × 3
 × 2
 × 2
 × 1
 × 1
 × 1
 × 1
 × 1
 × 1
 × 1
 × 1
 × 1
 × 1
 × 1
more related tags

Hot Network Questions

more hot questions
Newest wisper questions feed

[8]ページ先頭

©2009-2025 Movatter.jp