move to AR
This commit is contained in:
parent
c4b7b2d9f2
commit
26c046cdfa
51 changed files with 2345 additions and 516 deletions
|
@ -1,15 +1,4 @@
|
|||
Dependencies.mechanism = :require
|
||||
ActionController::Base.consider_all_requests_local = true
|
||||
ActionController::Base.perform_caching = false
|
||||
|
||||
require 'fileutils'
|
||||
FileUtils.mkdir_p(RAILS_ROOT + "/log")
|
||||
|
||||
unless defined? TEST_LOGGER
|
||||
timestamp = Time.now.strftime('%Y%m%d%H%M%S')
|
||||
log_name = RAILS_ROOT + "/log/instiki_test.#{timestamp}.log"
|
||||
$stderr.puts "To see the Rails log:\n less #{log_name}"
|
||||
|
||||
TEST_LOGGER = ActionController::Base.logger = Logger.new(log_name)
|
||||
$instiki_debug_logging = true
|
||||
end
|
||||
FileYard.restrict_upload_access = false
|
Loading…
Add table
Add a link
Reference in a new issue