Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Van Horn committed Dec 14, 2011
2 parents 066bd0f + fa3487a commit ef5983a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/nulldb/rails.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require 'nulldb/core'

NullDB.configure {|ndb| ndb.project_root = Rails.root}
# Need to defer calling Rails.root because when bundler loads, Rails.root is nil
NullDB.configure {|ndb| def ndb.project_root;Rails.root;end}

0 comments on commit ef5983a

Please sign in to comment.