May be if your open private window and signin. Then without signout, the user close browser my code (i.e "after sign out" method) will not run and i cant get sign out time... thats why i said...
On Wed, Jan 2, 2013 at 12:50 PM, Dheeraj Kumar <[email protected]>wrote: > Why don't you think its a good way? > > -- > Dheeraj Kumar > > On Wednesday 2 January 2013 at 12:45 PM, Saravanan P wrote: > > Hi Dheeraj > > Thanks for reply. > In Trackable, i can only see total sign in count, last sign in time and > sign out time... > But I need, users all sign in and sign out time stamp. > Is there any way? > > I can implement this by adding records in separate table by devise "after > sign in" and "after sign out" method. But i think its not good idea to get > that. > > > > > On Wed, Jan 2, 2013 at 12:37 PM, Dheeraj Kumar > <[email protected]>wrote: > > > http://rubydoc.info/github/plataformatec/devise/master/Devise/Models/Trackable > > -- > Dheeraj Kumar > > On Wednesday 2 January 2013 at 12:16 PM, Saravanan P wrote: > > Hello everyone, > > I need user *All login* and* logout time*. not only last login and logout > time. > I am using rails 3.2.8 + devise gem for User. > > Is there any way to get all time? > > Saravanan. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/Fc-UcJCoDm4J. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > -- > Regards by > Saravanan.P > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Regards by Saravanan.P -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

