vecnet / dl-discovery

Map based discovery interface for digital library records
Other
4 stars 3 forks source link

Change session to work with rails 3 app #26

Closed dbrower closed 9 years ago

dbrower commented 9 years ago

Get session interop with the backend application.

It's a little unorthodox to merge master into a branch. I hope I got the PR pointed in the right direction.

/cc @stevenvandervalk

stevenvandervalk commented 9 years ago

Hmm. Did you test out this change on master or the branch? After pulling I ran into

Started GET "/" for 127.0.0.1 at 2015-04-13 09:44:08 +1000
Processing by CatalogController#index as HTML
Completed 500 Internal Server Error in 1ms

TypeError (incompatible marshal file format (can't be read)
    format version 4.8 required; 123.34 given):
  app/controllers/application_controller.rb:24:in `decode_user_if_pubtkt_present'
stevenvandervalk commented 9 years ago

Ah my apologies! I dumbly forgot my old session was stored client side so clearing them with rails commands didn't work. Works now.