Moved settings for Tracks from the file settings.yml to the database. Running 'rake migrate' will update your database appropriately, and add the default settings into it. Then you should be able to visit <code>http://0.0.0.0:3000/user/preferences</code> to view and edit your settings. The advantage is that you don't need to mess about with the settings.yml file, and each of the users can have their own settings.

I'm intending this to be the last big change before releasing 1.04. Can people with access to the trunk through subversion check out this changeset and report any bugs?



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@182 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
bsag 2006-02-12 15:18:21 +00:00
parent c8f986a7ec
commit e50389788b
21 changed files with 164 additions and 94 deletions

View file

@ -52,7 +52,7 @@ class ContextController < ApplicationController
@item.attributes = @params["todo"]
if @item.due?
@item.due = Date.strptime(@params["todo"]["due"], DATE_FORMAT)
@item.due = Date.strptime(@params["todo"]["due"], @user.preferences["date_format"])
else
@item.due = ""
end