]> git.openstreetmap.org Git - rails.git/commit
Go back to using user_id+k as the primary key for user preferences but
authorTom Hughes <tom@compton.nu>
Sun, 4 May 2008 11:18:38 +0000 (11:18 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 4 May 2008 11:18:38 +0000 (11:18 +0000)
commit02efd7ba4a736c09a45f6fb4ac329650498d9431
treede23b186eba9a7a192dba8b540cbed3ccb0e43e7
parente15fa25639e96c7c1582d793b5b6c22c1969d2f9
Go back to using user_id+k as the primary key for user preferences but
actually using the composite primary key extension this time so that it
really works.

Also stop update_one tring to render a non-existent view, and add a
delete_one method to allow preferences to be deleted.
app/controllers/user_preference_controller.rb
app/models/user_preference.rb
config/routes.rb
db/migrate/012_add_user_preference_id.rb [deleted file]