ryanb / private_pub

Handle pub/sub messaging through private channels in Rails using Faye.
MIT License
863 stars 226 forks source link

Rails 3.1 integration #21

Closed ghost closed 12 years ago

ghost commented 13 years ago

If Rails 3.1 is present private_pub will use the asset pipeline to add the JavaScript in. This is similar to how say jquery-rails or kaminari pulls in their assets/views.

This also makes it easier to update the JavaScript from a development standpoint and end-user standpoint. :)

Just include the new JS in a new version of the gem and Rails 3.1 users will get the updates. No need to re-run the generator.

ryanb commented 12 years ago

Thank you for doing this!