All Versions
57
Latest Version
Avg Release Cycle
141 days
Latest Release
1139 days ago

Changelog History
Page 5

  • v0.6.1 Changes

    January 27, 2011

    === ๐Ÿ†• New Features

    • Default strategies for all ORM libs are defined. (GH-36, GH-38 Prem Sichanugrist)
    • Add a NullStrategy. (GH-6 Ben Mabey)

    === ๐Ÿ›  Bugfixes

    • Mongo colletion indexes are dropped for collections being removed. (GH-41 Ben Mabey)
    • Exclude database views from tables_to_truncate, if the connection adapter supports reading from the ANSI standard information_schema views. (GH-25 Samer Abukhait)
    • ORM types can be specified in string format and not mysteriously blowup. (GH-26 Ben Mabey)
    • Do not remove MongoDB reserved system collections. (GH-24 Ches Martin)
  • v0.6.0 Changes

    October 25, 2010

    ๐Ÿš€ This release has the often asked for functionality of being able to clean multiple databases within the same project. This involves being able to clean databases managed by the same ORM (i.e. different connections) and also being able to clean databases managed by distinct ORMs. So, for example you can now use DatabaseCleaner on a project that has ActiveRecord ๐Ÿ‘€ and Mongoid to help ensure all DBs all in a clean state. Please see the ๐Ÿš€ README for more information. The old API has been preserved so this release is backwards compatible.

    ๐Ÿš€ This release is a result of Jon Rowe's hard work. Many thanks to Jon for all of the hours and effort he put into making this feature request a reality.

    === ๐Ÿ†• New Features

    • Ability to clean multiple database connections managed by the same ORM. (Jon Rowe)
    • Ability to clean multiple DBs managed by different ORMs in same project. (Jon Rowe)
    • Allows for the ActiveRecord config file (database.yml) to contain ERB and process it. (Fletcher Nichol)
    • Mysql2Adapter support. (Kamal Fariz Mahyuddin and John Ferlito)
    • Deletion strategy for ActiveRecord (Mikl Kurkov)

    === ๐Ÿ›  Bugfixes

    • Updates the DataMapper truncation strategy to version 0.10.3. (Robert Rouse)
    • Addresses Ruby 1.9 and 1.8 differences causing a bug in the AR PostgreSQLAdapter truncation strategy. (GH-14, James B. Byrne)
    • Fixes syntax error that MySQL was throwing during DataMapper truncation. (Blake Gentry)
    • Fixes truncation for PostgreSQL (Bodaniel Jeanes and Gabriel Sobrinho)
    • Workaround for superclass mismatches for the ActiveRecord-jdbc-adapter (Toms Mikoss)
  • v0.5.2 Changes

    === ๐Ÿ›  Bugfixes

    • Removes extraneous puts call from configuration.rb. (Ben Mabey)
  • v0.5.1 Changes

    ๐Ÿš€ This release also attempts to fix AR for Rails 3 support. I have seen mixed reviews on this. Some people ๐Ÿš… claim the fixes allow for use in Rails3 while others have not had good luck with it. I plan on reworking ๐Ÿš… the way AR support is added so that it is more friendly with how Rails 3 uses autoload.

    === ๐Ÿ†• New features

    • Clean and clean_with methods are now aliased to clean! and clean_with!. (Ben Mabey)
    • Mongoid Support! (Sidney Burks)

    === ๐Ÿ›  Bugfixes

    • Check PostgreSQL version >= 8.2 before using TRUNCATE CASCADE (James B. Byrne)
    • Correct superclass is used in ActiveRecord connection adapters. (johnathan, Aslak Hellesoy, Ben Mabey)
  • v0.5.0 Changes

    February 22, 2010

    === ๐Ÿ†• New features

    • Basic truncation support for CouchPotato / CouchDB. (Martin Rehfeld)
    • SQLite3 on JRuby will fall back to delete if truncate doesn't work. (Darrin Holst)
    • JDBC is used for ActiveRecord automaticaly when JRuby is detected. (Darrin Holst)

    === ๐Ÿ›  Bufixes

    • MongoMapper truncation strategy now works with :only and :except options. (Ben Mabey)
  • v0.4.3 Changes

    January 17, 2010

    === ๐Ÿ†• New features

    • Truncation for ActiveRecord oracle_enhanced adapter. (Edgars Beigarts)
  • v0.4.2 Changes

    January 12, 2010

    === ๐Ÿ›  Bufixes

    • Datamapper truncation now uses 'select' instead of deprecated the 'query' method. (Steve Tooke)
  • v0.4.1 Changes

    January 07, 2010

    === ๐Ÿ›  Bufixes

    • Postgres tables with FKs now truncate (added TRUNCADE CASCADE) using Datamapper. (Ben Mabey)
  • v0.4.0 Changes

    December 23, 2009

    === ๐Ÿ†• New features

    • MongoMapper support for the truncation strategy. (Aubrey Holland)
  • v0.3.0 Changes

    December 20, 2009

    === ๐Ÿ†• New features

    • DataMapper 0.10.0 Compatible. (Martin Gamsjaeger)

    === ๐Ÿ›  Bufixes

    • Postgres tables with FKs now truncate (added TRUNCADE CASCADE). (Vika - yozhyk on github)