> > On Thu, Dec 11, 2008 at 6:06 AM, Reinier Balt <[EMAIL PROTECTED]> > wrote: > > 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. > > This happens only to one fairly old user account, it turns out. Are we > certain this has always been the case and that is correctly handled by > rake migrate? >
No. We do the best we can, but certainty? :-) If it's only one account, you could compare the contents of the users table and the preferences table and see if the foreign keys are ok. >From your other email: > (Note that I originally thought this affected all users, but that was a > mistake related to cookies. So it may actually be that this is older > than the most recent update, unfortunately.) No migrations since 1.6 changes the users / prefs tables IIRC. 041 touches preferences and is from 7 sep 2008. > (It is possible this is a sideeffect of having moved from mysql to > sqlite ages ago, as discussed on this list.) > > > Are there more errors? > > Nope. > > > Does the mobile interface work? > > No, but for a different reason- it appears to be served as content > type 'tracks/mobile' :) > Hmm, that should have been removed. Did you recreate you environment.rb? The template has changed since the last rails upgrade. Reinier _______________________________________________ Tracks-discuss mailing list [email protected] http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
