devise_traceable icon indicating copy to clipboard operation
devise_traceable copied to clipboard

Getting uninitialized constant UserTracing

Open rubytastic opened this issue 14 years ago • 7 comments

I followed instructions but getting Getting uninitialized constant UserTracing on rails 3 with devise latest no other devise plugins installed. This error happens on signout and signin

rubytastic avatar Jan 13 '11 14:01 rubytastic

I have the same Problem...

mmack avatar Feb 22 '11 10:02 mmack

Same problem here.

rahult avatar Feb 27 '11 03:02 rahult

I solved the problem by creating the UserTracing model

class UserTracing < ActiveRecord::Base
end

rahult avatar Feb 27 '11 03:02 rahult

is this not being supported anymore ?

cheolhom avatar Apr 09 '11 00:04 cheolhom

This gem is not fully implemented. You still need to add the UserTracing model and, depending on your needs, associate it with your user model.

Also, the generated migration doesn't create the IP address column, so you'll need to fix that, too.

brink avatar May 02 '11 18:05 brink

@brink : How did you implement the IP tracing? A short code example would be really appreciated. Thanks!

schneider-th avatar Aug 15 '12 16:08 schneider-th

I'm sorry I don't have access to that code any longer -- it was at my previous job in a repo I no longer have access to. Sorry!

What I remember was that I had to create the ip address column manually and i think create the usertracing model and add the association mappings

brink avatar Aug 20 '12 06:08 brink