Strange. time_zone is called on current_user.prefs, so I guess this trace is
implying that your user does not have associated preferences. This should never be the case, since new users always get a preference. Are there more errors? Does the mobile interface work? Is it working for other users? Reinier > -----Oorspronkelijk bericht----- > Van: [EMAIL PROTECTED] [mailto:tracks- > [EMAIL PROTECTED] Namens Luis Villa > Verzonden: donderdag 11 december 2008 8:43 > Aan: tracks-discuss > Onderwerp: [Tracks-discuss] updating to latest trunk breaks something > > After updating to latest (first time I've done this in at least a > month, probably two) and running rake migrate, I now get a 500 on the > client and the following in my log whenever I try to log in: > > NoMethodError (undefined method `time_zone' for nil:NilClass): > /app/controllers/application.rb:265:in `set_time_zone' > /vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in > `send' > /vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in > `evaluate_method' > /vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in > `call' > /vendor/rails/actionpack/lib/action_controller/filters.rb:225:in > `call' > /vendor/rails/actionpack/lib/action_controller/filters.rb:629:in > `run_before_filters' > /vendor/rails/actionpack/lib/action_controller/filters.rb:615:in > `call_filters' > /vendor/rails/actionpack/lib/action_controller/filters.rb:610:in > `perform_action_without_benchmark' > > /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in > `perform_action_without_rescue' > /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' > > /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in > `perform_action_without_rescue' > /vendor/rails/actionpack/lib/action_controller/rescue.rb:136:in > `perform_action_without_caching' > > /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13: > in > `perform_action' > > .... > > any ideas? > > Luis > _______________________________________________ > Tracks-discuss mailing list > [email protected] > http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss _______________________________________________ Tracks-discuss mailing list [email protected] http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
