Skip to content

Instantly share code, notes, and snippets.

View gnagel's full-sized avatar
🥳
Cranking on new projects, and nuking tech debt with a flamethrower 🔥

Glenn Nagel gnagel

🥳
Cranking on new projects, and nuking tech debt with a flamethrower 🔥
View GitHub Profile
@gnagel
gnagel / method_logger.rb
Created September 13, 2012 13:44 — forked from nhance/method_logger.rb
Rails compatible method logging. Use this to log all calls to instance methods of a class to the log.
Model.new.foo
@gnagel
gnagel / gist:1275493
Created October 10, 2011 14:44
patch
From 2129f60889393ba501d3c615bb54a15c597184db Mon Sep 17 00:00:00 2001
From: nyash <[email protected]>
Date: Sun, 7 Aug 2011 01:31:52 +0200
Subject: [PATCH] rails 3.1 support
---
lib/generators/assets/assets_generator.rb | 9 +++++++++
lib/generators/nested_scaffold_generator.rb | 4 ++--
.../stylesheets/stylesheets_generator.rb | 9 ---------
3 files changed, 11 insertions(+), 11 deletions(-)