Git Product home page Git Product logo

Comments (7)

bkeepers avatar bkeepers commented on August 25, 2024

You need to declare "audit User" in your controller to get the user. Reopen if you are still having issues after adding that.

from audited.

listenlight avatar listenlight commented on August 25, 2024

I added "audit User" to the application_controller, also tried adding it in both places. Nothing works. I've been through all permutations of the tutorial. It records auditable_id, auditable_type, action, changes, and version, but not the user_id.

from audited.

bkeepers avatar bkeepers commented on August 25, 2024

ok. Can you try pulling the latest changes that I committed yesterday, and let me know if that fixes your issue?

from audited.

listenlight avatar listenlight commented on August 25, 2024

Here is a pastie of my usage: http://pastie.org/635113

I just installed the plugin, and it still isn't getting the user_id

from audited.

masterkain avatar masterkain commented on August 25, 2024

I'm using Clearance too, and nothing gets logged.
Also I didn't find in docs that we have to put audit in controllers.

from audited.

kennethkalmer avatar kennethkalmer commented on August 25, 2024

This still an issue guys? Can you test with the new 2.0.0 RC's and Rails 3 ?

from audited.

kennethkalmer avatar kennethkalmer commented on August 25, 2024

I'm closing this one off for good. If anyone is still having issues with Clearance 1.0.0 or later, please open a new issue

from audited.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.