Actions
Refactor #16221
closedprivate method `zones_map' called for ActiveSupport::TimeZone:Class
Description
The documentation in the users API controller lists possible values for timezones by calling ActiveSupport::TimeZone.zones_map, however this method is private in Rails 5.0:
MethodError: private method `zones_map' called for ActiveSupport::TimeZone:Class
/home/dcleal/code/foreman/foreman/app/controllers/api/v2/users_controller.rb:50:in `block (2 levels) in <class:UsersController>'
It should be replaced by a method that remains public.
Note the same list is obtained by the time_zone_select form helper, which lists timezones through .all.
Updated by The Foreman Bot about 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3759 added
Updated by Dominic Cleal about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset abebb99425cb9d6c14f8067a12aea3013daa0dc0.
Updated by Dominic Cleal about 8 years ago
- Translation missing: en.field_release set to 160
Actions