Wednesday, October 11, 2017

[Rails] When upgrading from Rails 4.2 to 5.1.4 is there a generator for Action Cable files?

I've recently upgraded my Rails 4.2 application to Rails 5.1.4, and I'm trying to work with Action Cable.  I've been reading up on it a little and it seems that there are some files I'm currently missing such as, app/assets/javascripts/cable.js.  Is there a rails generator to generate all of the "required" action cable default files such as cable.js. Or should I just work through the example here and add them as I go?

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-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/c3acf552-cd27-487d-92d7-9b7638a10b7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment