Fix “to_hash” deprecation warning
Fix “to_hash” deprecation warning

“DEPRECATION WARNING: `ActiveRecord::Result#to_hash` has been renamed to `to_a`. `to_hash` is deprecated and will be removed in Rails 6.1”

Changing the only instance of “to_hash” to “to_a”.

t27duck/active_reporting,t27duck/active_reporting