database_cleaner
database_cleaner copied to clipboard
`pre_count` option for :truncate isn't included in the documentation
trafficstars
Is there any reason pre_count isn't included in the documentation?
It does appear in the error message when trying to pass an unavailable parameter as an option to :truncate. (BTW thanks for that, super helpful)
I'll open a PR against this issue in case it just never got added.
Thanks
@prostko Good question. It is probably an oversight. Could you submit a PR for this issue?
Thanks!
https://github.com/DatabaseCleaner/database_cleaner/pull/666
Looks like it is included in the docs, but for the ActiveRecord lib.
Submitted a PR to update the link here.
(Lucky number 666 🤣 )
Thanks again