sunitparekh / data-anonymization

Want to use production data for testing, data-anonymization can help you.
MIT License
459 stars 92 forks source link

Missing column is ignored #61

Open JasonBarnabe opened 6 years ago

JasonBarnabe commented 6 years ago

Using the blacklist strategy and

      table 'mytable' do
        primary_key 'id'

        anonymize('this_column_doesnt_exist').using(FieldStrategy::RandomEmail.new('example', 'com'))
      end

No error or warning, it just proceeds as if everything is fine. It should raise an exception so I can notice the problem.