Ruby on Rails
Friday, January 5, 2018
Well as far as I know the Action Cable gem is a dependency of ActiveSupport ? So I can't comment out that line in my Gemfile.
On Thursday, January 4, 2018 at 3:32:17 PM UTC-5, Walter Lee Davis wrote:
-- On Thursday, January 4, 2018 at 3:32:17 PM UTC-5, Walter Lee Davis wrote:
Do you have controller methods or initializers that call ActionCable directly by name? Because if not, I suppose just commenting out that gem and bundling and restarting would get "rid" of it temporarily. But if you had any code that called it, that would bomb and your app would not start up. I suspect you're going to have to go through the app and put a feature flag around the whole thing, so you can turn it off and on with a config variable.
Walter
> On Jan 4, 2018, at 2:34 PM, David McDonald <dave...@gmail.com> wrote:
>
> I'm trying to debug an issue with my application and I'm wanting to remove Action Cable temporarily. How can I do this, where when the server starts Action Cable doesn't, yet I don't have to remove all my code that I've already put in place? Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com .
> To post to this group, send email to rubyonra...@googlegroups.com .
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .f2b25b5c-1dfa-4800-a3b4- 49052265f487%40googlegroups. com
> For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ecfaf7ea-7478-4dcd-bbc2-b768d1eabd3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment