Permalink
Commits on Dec 5, 2011
  1. Semi-hotfix for Rails configuration bug

    At the time Bundler loads NullDB, Rails.root will return nil. We need to
    defer calling Rails.root until after Rails loads; would be nice to not
    redefine Configuration#project_root, but that does work.
    
    Would not be an issue if people were required to put
    `require 'nulldb/rails'` in their projects, perhaps the solution is
    moving towards that.
    
    Closes #16
    woahdae committed Dec 5, 2011
Commits on Nov 14, 2011
  1. Fix have_executed matcher

    Previously, was raising on an undef method error. Needed to be
    referencing an ivar rather than a method.
    woahdae committed Nov 11, 2011
  2. Merge pull request #14 from woahdae/rails_separation

    Pull Rails-oriented code out of main code body
    woahdae committed Nov 14, 2011
  3. Pull Rails-oriented code out of main code body

    so that testing the RSpec integration doesn't require a Rails
    environment or monkey-patching.
    woahdae committed Nov 13, 2011
Commits on Nov 13, 2011
  1. Fix 'primary_key' on primary-key-less tables

    Some tables have no foreign_key; ActiveRecord seems to know how to
    handle itself when primary_key returns nil, which would make sense.
    woahdae committed Nov 8, 2011
  2. Remove 3.1 limitation

    Signed-off-by: Woody Peterson <woody.peterson@gmail.com>
    Andy Waite committed with woahdae Nov 5, 2011
  3. Add Rails 3.1.* and 2.3.14 to test suite

    all pass without nulldb modification
    woahdae committed Nov 11, 2011
Commits on Nov 11, 2011
  1. Require 'thread' for AR <= 2.3.8

    This commit makes all tests down to 2.0.0 pass
    woahdae committed Nov 11, 2011
  2. Ensure correct AR version gets loaded in tests

    Previously, ginger was falling back to a normal require when
    encountering "active_record/version". Subsequently, depending on your
    system gems, it would fail with an 'already activated' error or always load
    rspec 2 (it's unclear why the different behavior).
    
    Whatever the reason, this is a sure fix. Will load AR proper, then the
    version (needed for Rails < 2.2.3)
    woahdae committed Nov 11, 2011
Commits on Oct 21, 2011
  1. Merge pull request #10 from avdi/master

    Moving away from Rails and RSpec dependence
    myronmarston committed Oct 21, 2011
Commits on Sep 13, 2011
  1. Added high-level helpers; remove need for Rails constant.

    * No longer try to read Rails.root if the schema path is absolute.
    * Define NullDB.nullify, NullDB.restore, and NullDB.checkpoint
    Avdi Grimm committed Sep 13, 2011
Commits on Jul 3, 2011
Commits on Jun 12, 2011
Commits on Jun 11, 2011
  1. Adding bundler support to make it simpler to get started contributing…

    …. Upping to the latest stable rails version.
    joakimk committed Jun 11, 2011
  2. Merge pull request #6 from andyw8/patch-1

    Adding link to my blog post explaining how to disable NullDB for a partic
    myronmarston committed Jun 11, 2011
  3. Merge pull request #5 from mattvanhorn/master

    A compatibility fix I needed for myself (Rails3/RSpec2.5.1/REE1.8.7)
    myronmarston committed Jun 11, 2011
Commits on May 19, 2011
  1. Adding link to my blog post explaining how to disable NullDB for a pa…

    …rticular RSpec example
    andyw8 committed May 19, 2011
Commits on Apr 23, 2011
Commits on Sep 2, 2010
  1. 0.2.1 release.

    myronmarston committed Sep 2, 2010
  2. Rails 3 is out!

    myronmarston committed Sep 1, 2010
Commits on Aug 25, 2010
  1. Ensure ginger loads the right version of active record when "active_r…

    …ecord/version" is required.
    myronmarston committed Aug 25, 2010
  2. Fix require statement.

    ActiveRecord 2.2.3 doesn't auto-require the version file, so we need to do so.
    myronmarston committed Aug 25, 2010
  3. Remove unnecessary require.

    myronmarston committed Aug 25, 2010
Commits on Aug 24, 2010
Commits on Jul 20, 2010
  1. RSpec2 changes.

    marano committed with myronmarston Jul 18, 2010
Commits on Jun 24, 2010
  1. Made changes necessary to get specs to pass against rails 3 beta 4:

    - Added Arel compiler.  Arel tries to require a compiler file based on the adapter name.
    - Primary key columns were getting #type = nil.  I'm not sure why this wasn't a problem before, but the easy work around was to subclass ActiveRecord::ConnectionAdapters::Column and set primary key fields to type = :integer if the type is not already set.
    - Added new #primary_key(table_name) method.
    myronmarston committed Jun 24, 2010
Commits on Jun 17, 2010
Commits on Mar 21, 2010
  1. Updated gemspec.

    myronmarston committed Mar 21, 2010