Test failure: "uninitialized constant ActiveModel (NameError)"
voxik opened this issue · comments
The test/mass_assignment_security/* test cases fail such as:
$ ruby -I.:lib:test test/mass_assignment_security/sanitizer_test.rb zer_test.rb
test/mass_assignment_security/sanitizer_test.rb:4:in `<main>': uninitialized constant ActiveModel (NameError)
They passes if -ractive_model/mass_assignment_security
is specified on the command line. Could you please add this require somewhere into the code to remove the need of additional parameter? Thanks.