[openstreetmap/openstreetmap-website] Session.id unit test failures (#2488)

mmd notifications at github.com
Mon Dec 30 08:55:27 UTC 2019


Thanks! So if anyone comes across the following Runtime error in  `<%= link_to t("layouts.logout"), logout_path(:session => session.id, :referer => request.fullpath), :class => "geolink" %>
`
```
RuntimeError - :
  app/views/layouts/_header.html.erb:105
  app/views/layouts/site.html.erb:5
  app/views/layouts/map.html.erb:87
  app/controllers/application_controller.rb:321:in `better_errors_allow_inline'
  config/initializers/compressed_requests.rb:27:in `call'
  config/initializers/cors.rb:9:in `call'

```

you need to enable memcached by adding the following to config/settings.local.yml and enabling the memcached service:

```
memcache_servers: 
                  - 127.0.0.1
```



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2488#issuecomment-569618194
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191230/1f68601c/attachment.html>


More information about the rails-dev mailing list