Skip to content

Instantly share code, notes, and snippets.

@voxik
Created March 21, 2011 15:42
Show Gist options
  • Save voxik/879643 to your computer and use it in GitHub Desktop.
Save voxik/879643 to your computer and use it in GitHub Desktop.
Explicitly require ERB.
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