search for: registeredus

Displaying 1 result from an estimated 1 matches for "registeredus".

Did you mean: registered
2010 Jan 26
1
Why does UserSession.find return nil when using user_credentials = single_access_token?
...ugh in looking through the documentation, but I must be missing something. What is it that I''m neglecting? class UsersController < ApplicationController def update # params[:user_credentials].inspect shows the correct ''xxxSingle_Access_Tokenxxx'' user_hash = RegisteredUserSession.find.record user = RegisteredUser.find(user_hash) user.update(params[:user]) user.save respond_to do |format| format.json { head :ok } end end private def single_access_allowed? true end end class UserSession < Authlogic::Session::Base...