using rails to expand for asset pipeline.