Rails4

tested with rails 4 asset pipeline.