On Thu, Dec 11, 2008 at 10:08 AM, Reinier Balt <[email protected]> wrote:
>
>> > 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? :-)

Poor choice of words on my part :)

> 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.

Hrm, interesting, at some point the entry in the entire row of
preferences for this user got deleted. That might explain the problem.
;)

>> (It is possible this is a sideeffect of having moved from mysql to
>> > 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.

That did the trick, thanks.

Luis
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to