> On 2015-Dec-11, at 13:12 , Jason Hsu, Ruby on High Speed Rails 
> <[email protected]> wrote:
> 
> The admin_signed_in? method comes from the Devise gem.

Are you using the :admin scope to do the login?

I.e., somewhere in your login_as helper there should be something like?

        sign_in :admin, some_user_who_is_admin


-Rob

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/4F9F7996-CDF5-4D8D-9D89-49550DB63CA8%40agileconsultingllc.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to