I installed my application exactly according to Railscasts Time Zone Episode 1 , but when I started
<%= f.time_zone_select :time_zone, ActiveSupport::TimeZone.us_zones %>
I get this error
NoMethodError in Users # new
Application mapping /views/users/new.html.erb where line # 27 is raised:
You have a null object, when you did not do this, expect it! Perhaps you were expecting an array instance. An error occurred while evaluating nil. <=>
Line 27 has the above line. I'm really stuck on this ...
source
share