Notes posted by erik
RSS feed![Default_avatar_30](https://www.gravatar.com/avatar/8d0371460c58706c26641f3d578145aa?size=30&default=http://apidock.com/images/default_avatar_30.png)
5 thanks
uninitialized constant ActionView::Base::CompiledTemplates::TimeZone
If you get this error, you need to use ActiveSupport::TimeZone.us_zones instead of TimeZone.us_zones.
Example:
<%= form.time_zone_select(:time_zone, ActiveSupport::TimeZone.us_zones) %>
![Default_avatar_30](https://www.gravatar.com/avatar/8d0371460c58706c26641f3d578145aa?size=30&default=http://apidock.com/images/default_avatar_30.png)
0 thanks
Incorrectly named option
The :add_month_number option should be :add_month_numbers