Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8339459
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:53:22+00:00 2026-06-09T04:53:22+00:00

I searched stack-overflow for similar approaches and didn’t find anything so here goes my

  • 0

I searched stack-overflow for similar approaches and didn’t find anything so here goes my question:

I need to be able to keep track if a destroy has happened on a object and the time it happened.
I also don’t really need the whole object just the id it had.

Is there a gem that does this or do it need to handle this in my database?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:53:23+00:00Added an answer on June 9, 2026 at 4:53 am

    If you don’t mind keeping the records around, you could use the paranoia gem, which adds a deleted_at timestamp and scopes the models using it so deleted records are excluded by default.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i searched through Stack overflow but fail to find a solution in regards to
I searched StackOverflow before posting this question but I wasn't able to find the
I have searched apple's documentation and other posts on Stack Overflow, but I'm still
I've searched stackoverflow all day long to find an answer without luck, so here
I searched in Stack Overflow, Google, etc, but I can't figure out how to
I have searched through stackoverflow and has found similar question. As I am still
Ok, So I've googled this problem and I have searched stack overflow but I
I searched though many posts on stack overflow to get me an answer but
I searched Stack Overflow for the pros/cons of function-like macros v. inline functions. I
My question is very similar to a number of others I've found on Stack

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.