Closed kinopyo closed 8 years ago
oh.. @balvig do you think it's better to separate it to another file like database_cleaner/mongoid.rb
..? wondering if he "all in one file" would raise some error if the project doesn't have mongoid storage :sweat_smile:
Thank you @kinopyo
do you think it's better to separate it to another file
Hmmm, could you maybe try it out in a non-mongoid project? :bow:
unfortunately keeping in same file would cause error for non mongoid project :sweat: , moved to another file
:recycle:
Update: removed the mongoid setting part but keep the active_record strategy specific, best way to keep it compatible with other projects :smile:
Thanks @kinopyo merged and released 1.4.3
:clap:
Seems like there're issues with El Capitan that doesn't cleanup the mongoid unless we explicitly set the strategy for it