aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/examples
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-12-08 14:05:18 +0100
committerJosé Valim <jose.valim@gmail.com>2011-12-08 16:39:06 +0100
commit06ac7d3ee0371c3ba20174a5f9fe3830a9d3f6a2 (patch)
treed4f3326b6ea541d697993f00d1feb6f5ad23c67e /activerecord/examples
parent000891805923dc36eaaff891b49363bea6e2af6f (diff)
downloadrails-06ac7d3ee0371c3ba20174a5f9fe3830a9d3f6a2.tar.gz
rails-06ac7d3ee0371c3ba20174a5f9fe3830a9d3f6a2.tar.bz2
rails-06ac7d3ee0371c3ba20174a5f9fe3830a9d3f6a2.zip
Add performance scripts from wycats/rails-simple-benches to actionpack.
Diffstat (limited to 'activerecord/examples')
-rw-r--r--activerecord/examples/performance.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/examples/performance.rb b/activerecord/examples/performance.rb
index 0f62e819ee..d29af85278 100644
--- a/activerecord/examples/performance.rb
+++ b/activerecord/examples/performance.rb
@@ -1,6 +1,6 @@
TIMES = (ENV['N'] || 10000).to_i
-require 'rubygems'
+require File.expand_path('../../../load_paths', __FILE__)
require "active_record"
conn = { :adapter => 'sqlite3', :database => ':memory:' }