Rails 3: Disable session cookies

后端 未结 4 1255
离开以前
离开以前 2021-02-05 14:09

I created a controller to serve dynamic stylesheets, so I can use the image_tag helper and add some cache control.

The problem is that every time the css file is loaded

4条回答
  •  暖寄归人
    2021-02-05 14:13

    Here's an alternate way in 2.3 to disable sessions, by setting the session store to nil:

    http://johnpwood.net/2009/09/04/disabling-sessions-in-rails-2-3-4/

    Perhaps you can do the same in 3?

提交回复
热议问题