Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Avoid error in Rails 3.1 where the application may have already been …

…initialized
  • Loading branch information...
commit e41c91b4d4608c0fd224b31a194f74f14490dcf8 1 parent 0ee8575
Prem Sichanugrist sikachu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/diesel/testing/application.rb
2  lib/diesel/testing/application.rb
View
@@ -28,7 +28,7 @@ def require_environment!
def initialize!
FileUtils.mkdir_p(Rails.root.join("db").to_s)
- super
+ super unless @initialized
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.