File: README.rdoc

package info (click to toggle)
ruby-devise-lastseenable 0.0.6-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 128 kB
  • sloc: ruby: 87; makefile: 3
file content (23 lines) | stat: -rw-r--r-- 537 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
= devise_lastseenable

This ensures that devise[http://github.com/plataformatec/devise] will update a last_seen flag on the model whenever you check if a user is authed.

== Usage

rails g devise_lastseenable

In your model, add :lastseenable as such:

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

== Thanks to

Thanks to devise_traceable[https://github.com/shenoudab/devise_traceable] for essentially operating as the base for this gem!

== Copyright

Copyright (c) 2011 ctide. See LICENSE.txt for
further details.