Skip to content

Instantly share code, notes, and snippets.

@lemig
lemig / console_history
Created October 31, 2010 15:01
Irb console input history
puts Readline::HISTORY.entries.split("exit").last[0..-2].join("\n")
module ActionView
class ErSass < ActionView::TemplateHandler
include ERB::Util
SASS_ENGINE_OPTS = {
:load_paths => Compass.configuration.sass_load_paths + ["#{Rails.root}/app/stylesheets"]
}
def self.call(template)
"ActionView::ErSass.new(self).render(template, local_assigns)"