…n when a post request use render_component For example using render :active_scaffold in the layout, when a post request fails due to validation errors, render_component fails due to forgery protection, clears your session, and it will logout you for example.
might crash rails
working in connection with default_options
1.9, but it has since been removed from 1.9. Backported from rails commit a1eb4e11c2cccb91483fa15f1a1a0b2ae518d2cf.