Get Inside Unbounce


All posts by Brian Pearce

Handling Code Duplication With Sass @imports in The Asset Pipeline

I have used the asset pipeline heavily since its release in Rails 3.1.0 over two years ago. Only recently did I run in to a handful of gotchas when it came to dealing with stylesheet compilations using Sass. The asset pipeline had been used mostly for compilation and minification of coffeescript. Not much time was spent on the stylesheet-side development. Depending on the service we may have used Sass or Read More...