Skip to content Skip to sidebar Skip to footer
Showing posts with the label Sprockets

How Do I Get Escape_javascript And Other Helpers In My Sprockets Pre-processed Js File (not A View)?

I'm using Rails 3.1 and the sprockets stuff. I want to use ERB to pre-process a js file that wi… Read more How Do I Get Escape_javascript And Other Helpers In My Sprockets Pre-processed Js File (not A View)?

Ruby On Rails: Leaflet-rails Not Loading

Using RoR 4.1.4 I am trying to use the leaflet-rails gem. I followed the steps outlined in the gith… Read more Ruby On Rails: Leaflet-rails Not Loading

Rails 3.1 Sprockets Require Directives - Is There A Way To Exclude Particular Files?

If I'm using //=require_tree . in application.css, is there a way to exclude particular files o… Read more Rails 3.1 Sprockets Require Directives - Is There A Way To Exclude Particular Files?