Permalink
Commits on Jun 17, 2011
  1. Merge pull request #63 from railsware/master

    Performance improvement for TRUNCATE on Postgres
    bmabey committed Jun 17, 2011
  2. Merge pull request #61 from xaviershay/patch-1

    Remove #compress_lines call in DataMapper adapter.
    bmabey committed Jun 17, 2011
Commits on May 26, 2011
  1. for AR and PSQL, truncate all tables with one command, improving perf…

    …ormance due to avoiding cascades
    leonid-shevtsov committed May 26, 2011
Commits on May 20, 2011
  1. Remove #compress_lines call - it isn't required and isn't provided as…

    … a core extension anymore by DataMapper as of 1.1.
    xaviershay committed May 20, 2011
Commits on May 11, 2011
  1. Merge pull request #56 from gucki/master

    sequel adapter
    bmabey committed May 11, 2011
Commits on Apr 22, 2011
  1. releases v0.6.7

    bmabey committed Apr 22, 2011
Commits on Mar 30, 2011
  1. added basic specs

    netskin-ci committed Mar 30, 2011
  2. add orm hooks

    netskin-ci committed Mar 30, 2011
  3. add sequel adapter

    netskin-ci committed Mar 30, 2011
Commits on Mar 24, 2011
  1. release candidate v0.6.7.RC

    bmabey committed Mar 24, 2011
  2. history

    bmabey committed Mar 24, 2011
  3. Cache the connection we use to clean the DB with (Take 2)

    The connection caching was a little bit too liberal and was caching
    across databases (I think). No we just grab it when we enter clean.
    
    Added an iterator so there isn't too much code duplication between
    delete and truncate.
    johnf committed with bmabey Mar 24, 2011
  4. Cache the connection we use to clean the DB with

    Due to pools etc eveything we called connection_klass.connection we
    would get a different connection. I hit a bug using multiple DBs where
    eventually the connection that did the referential integrity would not
    exist anymore and then everything would fail when it tried to reset the
    foreign keys.
    johnf committed with bmabey Mar 24, 2011
Commits on Mar 21, 2011
  1. updates history

    bmabey committed Mar 21, 2011
  2. Explicitly require ERB

    voxik committed with bmabey Mar 21, 2011
Commits on Mar 17, 2011
  1. releases v0.6.6

    bmabey committed Mar 17, 2011
  2. history

    bmabey committed Mar 17, 2011
  3. Merge pull request #52 from greg-barnett/database_cleaner

    ---
    
    The first commit works, for versions of postgresql up to 9.*
    
    The second should work for any and all future versions of postgresql, as long as the implementation of postgresql_version in ActiveRecord doesnt change...
    bmabey committed Mar 17, 2011
  4. Using built in postgresql_version - should be forwards compatible wit…

    …h version 10+
    Greg Barnett committed Mar 17, 2011
Commits on Mar 15, 2011
  1. history

    bmabey committed Mar 15, 2011
  2. Merge pull request #51 from ewollesen/database_cleaner

    ---
    
    The array passed does not belong to us, and so we should dup it before we modify it (via append in this case).
    bmabey committed Mar 15, 2011
  3. Do not modify the array of tables names to except; it does not belong…

    … to us.
    Eric Wollesen committed Mar 15, 2011
Commits on Mar 9, 2011
  1. releases v0.6.5

    bmabey committed Mar 9, 2011
  2. Version bump to 0.6.5

    bmabey committed Mar 9, 2011
  3. credit

    bmabey committed Mar 9, 2011
  4. Merge pull request #48 from naumov/database_cleaner

    ---
    
    As described here http://www.mongodb.org/display/DOCS/Mongo+Metadata MongoDb system collections starts with system. <-- notice the dot at the end, not just with system.
    
    This is important becouse when I have system_admins collection in my database it is not truncated. :(
    
    So here is a fix for that case.
    bmabey committed Mar 9, 2011
  5. credit

    bmabey committed Mar 9, 2011
  6. Merge pull request #49 from greg-barnett/database_cleaner

    ---
    
    This solves the following issue:  when truncating in postgresql, the sequences are not reset.
    
    If you have a test that depends on records getting specific ids when created, the test could fail.
    bmabey committed Mar 9, 2011
  7. reset sequences when truncating in postgresql

    Greg Barnett committed Mar 9, 2011
Commits on Feb 28, 2011