If there any helper or method, that could provide me with select with timezone offset, which will generate only numbers in its view, e.g.(<option value="-6">-6</option>)
I tried <%= time_zone_select :time_zone, ActiveSupport::TimeZone.us_zones %>, but this provide me with only string information, which wont work for me.
P.S. I’m about to switch to options_for_select
There are no such built-in Rails helpers, but it’s easy to implement with
options_for_select