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 3499006
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:33:32+00:00 2026-05-18T12:33:32+00:00

Is there a Rails 3 model versioning plugin that supports point-in-time queries (not just

  • 0

Is there a Rails 3 model versioning plugin that supports point-in-time queries (not just recovery) in an SQL database?

To be concrete: I have a table, documents. I want to be able to say, “as of 9/17/2010, which documents contained the text ‘foo’?”. This requirement seems to rule out all of the single-table versioning solutions like vestal_versions, and none of the other ones seem to have this feature either. All of the plugins I’ve looked at are documented as black boxes, so perhaps they store enough data internally to do this sort of query but you would never know it from the docs. In terms of Slowly Changing Dimensions, Type 2 is probably the sort of solution I’m looking for, although ultimately I’ll use whatever works.

I also need to keep track of which user made changes, although that’s probably possible to do outside of the versioning system too.

Is there one that I’m missing? Or am I using the wrong search term? Or do I get to roll my own?

  • 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-05-18T12:33:33+00:00Added an answer on May 18, 2026 at 12:33 pm

    I think you get to roll your own. If you really need to be able to perform queries on the versions, then the versions should probably be their own model, and making a versioning gem bend to fit your needs will be more painful than doing it yourself.

    Sorry, and have fun :/

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

Sidebar

Related Questions

There are two places to put form validation when developing with rails - Model
I've hit something that I don't understand how to model with Rails associations and
I'm trying to figure out the best way to design a rails model. For
In rails 3.0.9/ruby 1.9.2 I'm getting unexpected behaviour when i try to update model
I am using Devise in Rails 3, and have a User model in rails
I currently have a model for an assignment table in Rails 3, which looks
I ignorantly named a model in my Rails app System , which is also
I have a User model object whose permission attribute is restricted by validates_inclusion_of to
I have this domain model: class Person < ActiveRecord::Base composed_of :address, mapping: [%w(address_street street),
I have a bit of a problem! I have a Place model and a

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.