GitHub / DatabaseCleaner/database_cleaner-active_record / commits
Strategies for cleaning databases using ActiveRecord. Can be used to ensure a clean state for testing.
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| 874dea91 | Cut release v2.2.2 | Ernesto Tagwerker <e****b@o****m> | about 1 year ago | |
| f625783d |
Fixes Issue #120 (#121)
Co-authored-by: Ariel Juodziukynas <a****d@g****m>, Ariel Juodziukynas <a****d@g****m>, Andrew Lazarus <n****w@g****m> |
Ernesto Tagwerker <e****b@o****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 988ccc37 | release_connection after cleaning (#122) |
Andrew Lazarus <n****w@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| c5551f2f |
[Feature][DX] Add Docker Configuration for Development (#109)
Co-authored-by: Ariel Juodziukynas <a****d@g****m> |
Ernesto Tagwerker <e****b@o****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 3748bab2 | merge Merge pull request #124 from DatabaseCleaner/fix-truncated-tables-expectation... |
Ariel Juodziukynas <a****d@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 2913916c | Update changelog | Ariel Juodziukynas <a****d@g****m> | about 1 year ago | |
| 0f288cf7 | [Fix] Expect truncated tables in any order, and handle postgres extra table | Ariel Juodziukynas <a****d@g****m> | about 1 year ago | |
| e260a10f |
Provide a 'Changelog' link on rubygems.org/gems/database_cleaner-active_recor...
Co-authored-by: Ernesto Tagwerker <e****b@o****m> |
mark-young-atg <1****g@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| d519bf4a | Fix CI and improve contribute instructions (#123) |
Ariel Juodziukynas <a****d@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 912acbe1 | Bump version to v2.2.1 | Ernesto Tagwerker <e****b@o****m> | over 1 year ago | |
| e0ac16aa | Update changelog for release of 2.2.1 | Ernesto Tagwerker <e****b@o****m> | over 1 year ago | |
| a164b66d |
`truncate_option` to allow CASCADE mode alongside the default RESTRICT (#118)
Co-authored-by: Naoko Nishimura <n****8@g****m> |
Pat Allan <p****t@f****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| d34716a6 | Do not load `ActiveRecord` too early (#104) |
fatkodima <f****3@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| af3b0151 | Fix appraisals (#111) |
Geremia Taglialatela <t****a@u****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 377c9c07 | Add details about v2.2.0 and bump version | Ernesto Tagwerker <e****b@o****m> | about 2 years ago | |
| ecdc7ebc | Fetch last value from sequence given currval may not be defined for the sessi... |
Colton Jenkins <j****7@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| e8835a14 |
Use lock syncronize on transaction rollback (#73)
Co-authored-by: Malcolm Locke <m****c@r****m> |
Malcolm Locke <m****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| c8bd3cd0 | Drop Rails 6.0 & Ruby 3.0 (and older) Support (#105) |
Ernesto Tagwerker <e****b@o****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 092b4ff1 | Fix CI and Rails 7.1 compatibility on main (#107) |
Geremia Taglialatela <t****a@u****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 0b0bfc41 | [FIX] Typo for deletion and truncation strategy (#94) |
Manish Sharma <3****5@u****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 79b08760 | Address deprecation of `ActiveRecord::Base.connection` in Rails 7.2 (#102) |
Joshua Young <d****9@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 74a913a7 |
Support Rails 7.2+ (#101)
Co-authored-by: Jean byroot Boussier <j****b@s****m>, Jean byroot Boussier <j****b@s****m> |
Alex Ghiculescu <a****x@t****o>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 644a218e | Fix reset_ids test with Trilogy adapter (#93) |
Eugene Kenny <e****y@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| aafa5b27 | Reset ids option (#71) |
Sam Adams <s****0@g****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 4afa1318 | Avoid loading ActiveRecord::Base early (#91) |
Jean byroot Boussier <j****b@s****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 7da2abea | Fix specs to account for trilogy (#88) |
Peter Goldstein <p****n@g****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| d49c02ab | merge Merge pull request #85 from zhaitz/main |
Ernesto Tagwerker <e****b@o****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| e46ab51e | Add basic support for trilogy |
Zach Haitz <7****z@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
| 1b4b4785 | Add CHANGELOG and bump version to v2.1.0 | Ernesto Tagwerker <e****b@o****m> | over 3 years ago | |
| 06177581 | merge Merge pull request #77 from Connorhd/patch-1 |
Ernesto Tagwerker <e****b@o****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
| 0e090e96 | merge Merge pull request #78 from eikes/rails-7-1 |
Ernesto Tagwerker <e****b@o****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
| 985a6c35 | Put the ci.yml rubygems condition into one expression | Eike Send <m****l@e****e> | over 3 years ago | |
| cb1857ef | Set up ruby and rubygems different for ruby 2.5 | Eike Send <m****l@e****e> | over 3 years ago | |
| 319ce2ab | uses 'rubygems: latest' in ci.yml in the correct place | Eike Send <m****l@e****e> | over 3 years ago | |
| 4392b23c | Uses "rubygems: 3.3.13" in ci.yml | Eike Send <m****l@e****e> | over 3 years ago | |
| 85032c6a | Uses "rubygems: latest" in ci.yml | Eike Send <m****l@e****e> | over 3 years ago | |
| c2cf9a34 | Updates CI ubuntu | Eike Send <m****l@e****e> | over 3 years ago | |
| 06f26ea9 | Disable CI for unsupported ruby version of rails 7-1 | Eike Send <m****l@e****e> | over 3 years ago | |
| a9a0a48b | Adds conditional bundle update if rails 7.1 to ci workflow | Eike Send <m****l@e****e> | over 3 years ago | |
| 227b788a | Upgrade rubygems in CI | Eike Send <m****l@e****e> | over 3 years ago | |
| 08af6120 | Adds rails-7.1 gemfile and Appraisal | Eike Send <m****l@e****e> | over 3 years ago | |
| 654de96b | merge Merge pull request #79 from petergoldstein/feature/add_ruby_3_2_to_ci |
Ernesto Tagwerker <e****b@o****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
| a1fff552 | Use an explicit hash to avoid ambiguity between keyword and hash arguments | Peter Goldstein <p****n@g****m> | over 3 years ago | |
| e7a00b4a | Add Ruby 3.2 to the CI matrix. Also update checkout action version. | Peter Goldstein <p****n@g****m> | over 3 years ago | |
| 3084fa51 | Add a WHERE clause to delete statement |
Connor Dunn <c****d@g****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
| b750ac73 | merge Merge pull request #64 from aziflaj/patch-1 |
Ernesto Tagwerker <e****b@o****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
| c3ff3a5f | Adds rails-7-1 support where ::ActiveRecord::SchemaMigration.table_name is de... | Eike Send <m****l@e****e> | almost 4 years ago | |
| c55d0ea3 | Updated CI badge to use GitHub CI |
Ernesto Tagwerker <e****b@o****m>
Committed by: GitHub <n****y@g****m> |
over 4 years ago | |
| 04afe152 | merge Merge pull request #67 from budnik/patch-1 |
Ernesto Tagwerker <e****b@o****m>
Committed by: GitHub <n****y@g****m> |
over 4 years ago | |
| 20d5dabb | merge Merge pull request #69 from petergoldstein/feature/switch_to_gh_actions |
Ernesto Tagwerker <e****b@o****m>
Committed by: GitHub <n****y@g****m> |
over 4 years ago | |
| 7c714580 | Enable Ruby 3.1 / Rails 6.1 by including gems | Peter Goldstein <p****n@g****m> | over 4 years ago | |
| 45c182e8 | Loosen the test to allow either model class | Peter Goldstein <p****n@g****m> | over 4 years ago | |
| 125cf6f1 | Add Ruby 3.1 / Rails 7 | Peter Goldstein <p****n@g****m> | over 4 years ago | |
| bb2c3ccd | Add workflows | Peter Goldstein <p****n@g****m> | over 4 years ago | |
| 25ca9f58 | Update README.md |
Dmytro Budnyk <d****k@g****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 13f42757 | Supports ruby 2.5 | Aldo Ziflaj <a****j@l****m> | about 5 years ago | |
| 2916ca08 | Test for aliased configs | Aldo Ziflaj <a****j@l****m> | about 5 years ago | |
| 9447dd8a | Load db config with aliases | Aldo Ziflaj <a****j@l****m> | about 5 years ago | |
| c4d02aeb | fix unparseable yaml. | Micah Geisel <m****h@b****m> | over 5 years ago | |
| 0b74169e | merge Merge pull request #60 from olleolleolle/patch-2 |
Ernesto Tagwerker <e****b@o****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 86cb6c3b | gemspec: Be explicit about no executables |
Olle Jonsson <o****n@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 6bde643b | release v2.0.1. | Micah Geisel <m****h@b****m> | over 5 years ago | |
| ab097f91 | Use RESTRICT instead of CASCADE when truncating with postgres |
Bartosz Suchodolski <b****i@f****m>
Committed by: Micah Geisel <o****s@g****m> |
over 5 years ago | |
| fe24fc9b | Setup referencing table |
Bartosz Suchodolski <b****i@f****m>
Committed by: Micah Geisel <o****s@g****m> |
over 5 years ago | |
| ad84b161 | exclude some officially unsupported rails and ruby combos from the testing ma... |
Micah Geisel <m****h@b****m>
Committed by: Micah Geisel <o****s@g****m> |
over 5 years ago | |
| cd18900b | support PostGIS connections |
Leah Neukirchen <l****h@v****g>
Committed by: Micah Geisel <o****s@g****m> |
over 5 years ago | |
| 04ce2653 | Start testing gem with Ruby 3.0 |
Ernesto Tagwerker <e****b@o****m>
Committed by: Micah Geisel <o****s@g****m> |
over 5 years ago | |
| dba86b56 | Update README.md |
Micah Geisel <o****s@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| dcc5b0b6 | release v2.0.0. | Micah Geisel <m****h@b****m> | over 5 years ago | |
| 8c24cb2f | make sure we're merging coverage results when running all tests locally. | Micah Geisel <m****h@b****m> | over 5 years ago | |
| c19c39dc | cover connection pool lookup. | Micah Geisel <m****h@b****m> | over 5 years ago | |
| 94ad765e | add rails 6.1 to appraisals file. | Micah Geisel <m****h@b****m> | over 5 years ago | |
| caeb67e8 | Fix config deprecation warning for Rails 6.2 |
dsantosmerino <d****o@g****m>
Committed by: Micah Geisel <o****s@g****m> |
over 5 years ago | |
| 3c066daa | Fix multiple database example |
dsantosmerino <d****o@g****m>
Committed by: Micah Geisel <o****s@g****m> |
over 5 years ago | |
| e4325233 | Add support to Rails 6.1 db config access |
dsantosmerino <d****o@g****m>
Committed by: Micah Geisel <o****s@g****m> |
over 5 years ago | |
| 7b6d3010 | Add Rails 6.1 testing |
dsantosmerino <d****o@g****m>
Committed by: Micah Geisel <o****s@g****m> |
over 5 years ago | |
| 24cc517e | Be explicit about `activerecord` support |
David Rodríguez <d****z@r****t>
Committed by: Micah Geisel <o****s@g****m> |
about 6 years ago | |
| a8c97fc9 | release v2.0.0.beta2. | Micah Geisel <m****h@b****m> | about 6 years ago | |
| 9cc65943 | Update README.md |
Micah Geisel <o****s@g****m>
Committed by: GitHub <n****y@g****m> |
over 6 years ago | |
| b8a21db0 | Update README.md |
Micah Geisel <o****s@g****m>
Committed by: GitHub <n****y@g****m> |
over 6 years ago | |
| 72acb8e1 | rm cruft. | Micah Geisel <m****h@b****m> | over 6 years ago | |
| ed94f32c | no need to make a query. adapter name check is sufficient. | Micah Geisel <m****h@b****m> | over 6 years ago | |
| c2cc97d7 | make truncate-or-delete the fallback implementation when using a third-party ... | Micah Geisel <m****h@b****m> | over 6 years ago | |
| aacd9169 | refactoring. | Micah Geisel <m****h@b****m> | over 6 years ago | |
| ea3aa0c7 | reorganize modules to put strategy on top, and nest connection wrappers withi... | Micah Geisel <m****h@b****m> | over 6 years ago | |
| 4a282e28 | no more monkeypatching! | Micah Geisel <m****h@b****m> | over 6 years ago | |
| 53e24aa7 | biffed the rebase. | Micah Geisel <m****h@b****m> | over 6 years ago | |
| 507e9d5e | rm code for no-longer-unsupported versions of db adapters. | Micah Geisel <m****h@b****m> | over 6 years ago | |
| f8b42a1d | get :cache_tables specs passing for all three adapters. | Micah Geisel <m****h@b****m> | over 6 years ago | |
| e0292007 | get pre_count working for both deletion and truncation strategies on all adap... | Micah Geisel <m****h@b****m> | over 6 years ago | |
| 4124c0a6 | this constant isn't always loaded, so pick a more robust test. | Micah Geisel <m****h@b****m> | over 6 years ago | |
| 97a465c2 | we inherit this method, now. | Micah Geisel <m****h@b****m> | over 6 years ago | |
| c5ff915a | remove monkeypatching from deletion adapter. | Micah Geisel <m****h@b****m> | over 6 years ago | |
| 26cdb60c | enable a few more pending deletion specs. | Micah Geisel <m****h@b****m> | over 6 years ago | |
| ae80df13 | get deletion strategy tested and working again. | Micah Geisel <m****h@b****m> | over 6 years ago | |
| ef2f7b34 | remove code for no-longer-supported versions of active record. | Micah Geisel <m****h@b****m> | over 6 years ago | |
| 25f6889d | require library after we load coverage tools so that it is actually covered. | Micah Geisel <m****h@b****m> | over 6 years ago | |
| ad556834 | Revert "temporarily point at new_adapter_api branch for database_cleaner-core... | Micah Geisel <m****h@b****m> | over 6 years ago | |
| f916abfe | this method isn't really buying us much, and costs indirection. kill it! |
Micah Geisel <m****h@b****m>
Committed by: Micah Geisel <o****s@g****m> |
over 6 years ago | |
| aaa50ac1 | no reason to expose this pg vs mysql complexity to the test. pg is happy to r... |
Micah Geisel <m****h@b****m>
Committed by: Micah Geisel <o****s@g****m> |
over 6 years ago |