public
Rubygem
Description: Rails Plugin - memoize and store to the db a record attribute generated by any expression or SQL query.
Homepage: http://6brand.com
Clone URL: git://github.com/JackDanger/cached_values.git
git diff shows me no changes but clearly there's something in this 
changeset
JackDanger (author)
Thu Mar 06 09:13:05 -0800 2008
commit  1e5523c1025dec8b40d1a12fde176851040b4270
tree    b8c76e7917208f9b10011a66b2a6f552a07a8ece
parent  3134cfe1c37ba434d82ec9b1fb3acd85704a9eb8
...
8
9
10
11
 
12
13
14
 
 
15
16
17
18
19
20
 
21
22
23
...
8
9
10
 
11
12
 
 
13
14
15
16
 
 
 
 
17
18
19
20
0
@@ -8,16 +8,13 @@ require 'test/unit'
0
 require 'active_record'
0
 require 'active_record/fixtures'
0
 require "cached_values"
0
-require File.expand_path(File.dirname(__FILE__) + "/leprechaun")
0
+require File.expand_path(File.dirname(__FILE__) + "/test/leprechaun")
0
 
0
-config = YAML::load(IO.read(File.dirname(__FILE__) + '/database.yml'))
0
-ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + "/debug.log")
0
+config = YAML::load(IO.read(File.dirname(__FILE__) + '/test/database.yml'))
0
+ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + "/test/debug.log")
0
 ActiveRecord::Base.establish_connection(config[ENV['DB'] || 'sqlite3'])
0
 
0
-load(File.dirname(__FILE__) + "/schema.rb") if File.exist?(File.dirname(__FILE__) + "/schema.rb")
0
-
0
-Test::Unit::TestCase.fixture_path = File.dirname(__FILE__) + "/fixtures/"
0
-$LOAD_PATH.unshift(Test::Unit::TestCase.fixture_path)
0
+load(File.dirname(__FILE__) + "/schema.rb") if File.exist?(File.dirname(__FILE__) + "/test/schema.rb")
0
 
0
 class Test::Unit::TestCase #:nodoc:
0
   # def create_fixtures(*table_names)

Comments

    No one has commented yet.