Topic: rails and devise problem

Look, I installed standard devise and than made some ajax

            $.ajax({
                type: 'POST',
                url: 'update_preferences',
                data: {'text_top': top_pos, 'authenticity_token':$(