Updating to use Rails 2.1.2. Moving the gem dependancies to the config/environment.rb file. Moving the vendor/plugins externals into our svn.
This commit is contained in:
parent
38f4e17865
commit
252c2f7022
46 changed files with 3919 additions and 7 deletions
17
vendor/plugins/file_column/test/connection.rb
vendored
Normal file
17
vendor/plugins/file_column/test/connection.rb
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
print "Using native MySQL\n"
|
||||
require 'logger'
|
||||
|
||||
ActiveRecord::Base.logger = Logger.new("debug.log")
|
||||
|
||||
db = 'file_column_test'
|
||||
|
||||
ActiveRecord::Base.establish_connection(
|
||||
:adapter => "mysql",
|
||||
:host => "localhost",
|
||||
:username => "rails",
|
||||
:password => "",
|
||||
:database => db,
|
||||
:socket => "/var/run/mysqld/mysqld.sock"
|
||||
)
|
||||
|
||||
load File.dirname(__FILE__) + "/fixtures/schema.rb"
|
Loading…
Add table
Add a link
Reference in a new issue