Sha256: 119f0a045e554e1231a4bca00b5f63cdf72ea39668bdf2bd52e66a8f5463f62c

Contents?: true

Size: 165 Bytes

Versions: 12

Compression:

Stored size: 165 Bytes

Contents

require 'nulldb/core'

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

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
activerecord-nulldb-adapter-0.3.9 lib/nulldb/rails.rb
activerecord-nulldb-adapter-0.3.8 lib/nulldb/rails.rb
nulldb-0.3.7.pre.alpha.1 lib/nulldb/rails.rb
activerecord-nulldb-adapter-0.3.7 lib/nulldb/rails.rb
activerecord-nulldb-adapter-0.3.6 lib/nulldb/rails.rb
activerecord-nulldb-adapter-0.3.5 lib/nulldb/rails.rb
activerecord-nulldb-adapter-0.3.4 lib/nulldb/rails.rb
activerecord-nulldb-adapter-0.3.3 lib/nulldb/rails.rb
activerecord-nulldb-adapter-0.3.2 lib/nulldb/rails.rb
activerecord-nulldb-adapter-0.3.1 lib/nulldb/rails.rb
activerecord-nulldb-adapter-0.3.0 lib/nulldb/rails.rb
activerecord-nulldb-adapter-0.2.3 lib/nulldb/rails.rb