Rails 3.1 integration #21

merged 3 commits into from Jan 14, 2012


None yet
2 participants

ghost commented Aug 11, 2011

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 Jan 14, 2012

Thank you for doing this!

ryanb added a commit that referenced this pull request Jan 14, 2012

@ryanb ryanb merged commit c72f5de into ryanb:master Jan 14, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment