vhochstein / active_scaffold

Rails 4 Version of activescaffold supporting jquery
MIT License
156 stars 34 forks source link

activescaffold modifies session variable when delete is called #137

Closed istana closed 13 years ago

istana commented 13 years ago

Hi, I have this problem - I have primitive authentication system, which stores password in session - session[:password], and in every page load it calls some authenticate function. When I want to "Create New" it creates - it passes session[:password], but in "Delete" action it doesn't (or deletes it) Is there any way to circumvent this behaviour?

vhochstein commented 13 years ago

I m using authentication without any issue in many projects.. Not sure why it isnt working in your project. I would suggest to debug it. Should nt be to difficult, just log your complete session object to log in your before authentication filter.

istana commented 13 years ago

This was probably some black magic, today it's working!