Skip to content

Instantly share code, notes, and snippets.

@luca-aurelia
Created August 21, 2020 20:17
Show Gist options
  • Save luca-aurelia/5a405d348126710a0cca93df3456311d to your computer and use it in GitHub Desktop.
Save luca-aurelia/5a405d348126710a0cca93df3456311d to your computer and use it in GitHub Desktop.
Stimulus Reflex Error
StimulusReflex::Channel#receive({"target"=>"HsApplications#toggle_shortlist", "args"=>[], "url"=>"http://pairing.hiresuccess.com:3000/campaigns/4764?campaign_scope=testing_complete", "attrs"=>{"class"=>"shortlist-│·····················
off toggle-shortlist", "data-application-id"=>"145068", "data-placement"=>"bottom", "data-reflex"=>"click->HsApplications#toggle_shortlist", "data-toggle"=>"tooltip", "href"=>"#", "title"=>"Remove this applicant f│·····················
rom the shortlist", "data-controller"=>"stimulus-reflex", "data-action"=>"click->stimulus-reflex#__perform", "checked"=>false, "selected"=>false, "tag_name"=>"A"}, "dataset"=>{"data-application-id"=>"145068", "dat│·····················
a-placement"=>"bottom", "data-reflex"=>"click->HsApplications#toggle_shortlist", "data-toggle"=>"tooltip", "data-controller"=>"stimulus-reflex", "data-action"=>"click->stimulus-reflex#__perform"}, "selectors"=>[],│·····················
"reflexId"=>"e179bf83-7c26-45a1-8bb7-788ba229768e", "permanent_attribute_name"=>"data-reflex-permanent", "params"=>{}})
│·····················
Could not execute command from ({"command"=>"message", "identifier"=>"{\"channel\":\"StimulusReflex::Channel\"}", "data"=>"{\"target\":\"HsApplications#toggle_shortlist\",\"args\":[],\"url\":\"http://pairing.hires│·····················
uccess.com:3000/campaigns/4764?campaign_scope=testing_complete\",\"attrs\":{\"class\":\"shortlist-off toggle-shortlist\",\"data-application-id\":\"145068\",\"data-placement\":\"bottom\",\"data-reflex\":\"click->Hs│·····················
Applications#toggle_shortlist\",\"data-toggle\":\"tooltip\",\"href\":\"#\",\"title\":\"Remove this applicant from the shortlist\",\"data-controller\":\"stimulus-reflex\",\"data-action\":\"click->stimulus-reflex#__│·····················
perform\",\"checked\":false,\"selected\":false,\"tag_name\":\"A\"},\"dataset\":{\"data-application-id\":\"145068\",\"data-placement\":\"bottom\",\"data-reflex\":\"click->HsApplications#toggle_shortlist\",\"data-to│·····················
ggle\":\"tooltip\",\"data-controller\":\"stimulus-reflex\",\"data-action\":\"click->stimulus-reflex#__perform\"},\"selectors\":[],\"reflexId\":\"e179bf83-7c26-45a1-8bb7-788ba229768e\",\"permanent_attribute_name\":│·····················
\"data-reflex-permanent\",\"params\":{}}"}) [NoMethodError - undefined method `rescue_with_handler' for nil:NilClass]: /Users/pairing/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/stimulus_reflex-3.2.3/lib/stimul│·····················
us_reflex/channel.rb:36:in `rescue in receive' | /Users/pairing/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/stimulus_reflex-3.2.3/lib/stimulus_reflex/channel.rb:31:in `receive' | /Users/pairing/.rbenv/versions/│·····················
2.6.6/lib/ruby/gems/2.6.0/gems/actioncable-5.2.4.2/lib/action_cable/channel/base.rb:266:in `public_send' | /Users/pairing/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/actioncable-5.2.4.2/lib/action_cable/channel│·····················
/base.rb:266:in `dispatch_action' | /Users/pairing/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/actioncable-5.2.4.2/lib/action_cable/channel/base.rb:168:in `block in perform_action'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment