No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
This ensures that devise will update a last_seen flag on the model whenever you check if a user is authed.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0
>= 3.0.4
 Project Readme

devise_lastseenable¶ ↑

This ensures that devise will update a last_seen timestamp on the model whenever you check if a user is authenticated.

Usage¶ ↑

Add to your Gemfile:

gem 'devise_lastseenable'

Add the last_seen column to your database. Assuming your Devise model is called User, run:

rails generate devise_lastseenable User
rake db:migrate

In your model, add :lastseenable as such:

class User < ActiveRecord::Base
  devise ..., :lastseenable
end

Thanks to¶ ↑

Thanks to devise_traceable for essentially operating as the base for this gem!

Copyright © 2011 ctide. See LICENSE.txt for further details.