Actions
Bug #13755
closedAllow iterating over ActiveRecord CollectionProxy in safe mode rendering
Description
When we use something like
<% @host.interfaces.each %>
I see an error like this
There was an error rendering the Preseed default finish template: The snippet 'preseed_networking_setup' threw an error: undefined method 'each' for Safemode::Jail (ActiveRecord::Associations::CollectionProxy)
Updated by Marek Hulán about 9 years ago
- Related to Bug #13168: Rendering of kickstart_networking_setup fails: undefined method 'each' for Safemode::Jail (ActiveRecord::AssociationRelation) added
Updated by The Foreman Bot about 9 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3198 added
Updated by Anonymous about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 55033bc8a884fb1f9cb2a9cba3e60ca28624528f.
Actions