Created
March 21, 2011 15:42
-
-
Save voxik/879643 to your computer and use it in GitHub Desktop.
Explicitly require ERB.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 314a59213beabf150be6202e10d93055bb8176c0 Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com> | |
Date: Mon, 21 Mar 2011 16:40:05 +0100 | |
Subject: [PATCH] Explicitly require ERB | |
--- | |
lib/database_cleaner/active_record/base.rb | 1 + | |
1 files changed, 1 insertions(+), 0 deletions(-) | |
diff --git a/lib/database_cleaner/active_record/base.rb b/lib/database_cleaner/active_record/base.rb | |
index 87428f3..0137d05 100644 | |
--- a/lib/database_cleaner/active_record/base.rb | |
+++ b/lib/database_cleaner/active_record/base.rb | |
@@ -1,5 +1,6 @@ | |
require 'database_cleaner/generic/base' | |
require 'active_record' | |
+require 'erb' | |
module DatabaseCleaner | |
module ActiveRecord | |
-- | |
1.7.4.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment