add sample code snippet on how to use it with Rails asset pipeline