Can't import ansible roles with tfm-rubygem-foreman_ansible-2.2.7

Problem:

on fresh install I get following error trying to import ansible roles:

2018-09-25T18:52:49 [I|app|] Started POST "/ansible/ansible_roles/confirm_import" for IP at 2018-09-25 18:52:49 +0900
2018-09-25T18:52:49 [I|app|35f24] Processing by AnsibleRolesController#confirm_import as HTML
2018-09-25T18:52:49 [I|app|35f24]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"TOKEN", "changed"=>{"new"=>{"test-ping-localhost"=>"{\"id\":null,\"name\":\"test-ping-localhost\",\"created_at\":null,\"updated_at\":null}"}}, "commit"=>"Update"}
2018-09-25T18:52:49 [I|app|35f24] Current user set to admin (admin)
2018-09-25T18:52:49 [W|app|35f24] Action failed
NoMethodError: undefined method `each_value' for #<ActionController::Parameters:0x00007f2008e2bcb8>
Did you mean?  each_pair

Expected outcome:

successfully import ansible roles

I downgraded to tfm-rubygem-foreman_ansible-2.2.6 and error dissapear

Foreman and Proxy versions:

Foreman 1.19.0 (1.18.x also affected)
Katello 3.8.0.5
Ansible 2.2.7

Foreman and Proxy plugin versions:

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]

The new version that should fix this issue was released yesterday and is pending packaging [1]. If you want to test the fix, please install the rpm from [2], then restart httpd and retest. Sharing your findings would help, thanks in advance!

[1] https://github.com/theforeman/foreman-packaging/pull/3034
[2] http://koji.katello.org/kojifiles/work/tasks/5076/135076/tfm-rubygem-foreman_ansible-2.2.9-1.fm1_20.el7.noarch.rpm

yup, that fixed it! thanks @Marek_Hulan !

(tested on 1.19.0)