Don't try and store a user record in the session
authorTom Hughes <tom@compton.nu>
Sat, 30 Jun 2012 18:17:04 +0000 (19:17 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 30 Jun 2012 18:17:04 +0000 (19:17 +0100)
commit16beaef5cf6fd4b37817ed6e0e6df693bcdf10fa
treeeb9b753bfc08ab6fc4a099209765ba20f570057f
parent98445b2ab9d9d7b731ba128e7878a865d2409f37
Don't try and store a user record in the session

A user record that has come from the database can't be stored in
the session as it contains singletons that can't be serialised.
app/controllers/user_controller.rb