DatabaseCleaner / database_cleaner-active_record

Strategies for cleaning databases using ActiveRecord. Can be used to ensure a clean state for testing.
MIT License
64 stars 63 forks source link

README.md -> invalid ruby syntax #70

Open waghanza opened 2 years ago

waghanza commented 2 years ago

Hi,

I can find on README.md that we can use some options

DatabaseCleaner[:active_record].strategy = :truncation, only: ["users"]

This syntax is not ruby valid.

How do you specify options for your strategy ?

Regards,