Right note. But! There was some trouble - naming conflict. session_path from session resource agains session_path from devise. Some gang bang occurred while I was debugging it.