Gem for storing and tracking changes

Hi people

I want to know which is the best gem or plug-in to store and track
register changes for a rails 3.0.9 app

Hope you can help me, thanks

On 29 November 2011 18:33, Angelo C. [email protected] wrote:

Hi people

I want to know which is the best gem or plug-in to store and track
register changes for a rails 3.0.9 app

It is not clear what it is that is changing (a register?). Is it
changes to data in the database or code changes or what?

Colin

On 29 nov, 17:14, Colin L. [email protected] wrote:

Colin
In my app, a user must log-in to the system.
Then he can create and/or update many documents (invoices, waybills,
credit notes, etc.). Each one has many details (because they have many
products)
So I’m looking for a gem that allow me to store the changes of these
documents, what I want to know is:

  • user_id (who made the changes or has created a new document)
  • object_id (the document or detail that has been created, updated,
    deleted, etc.)
  • class_name (the class name of the document/detail)
  • action_name (create, update, delete, etc.)
  • datetime (date and time when the document/detail has been created or
    updated or deleted)
  • changes (which attributes has been changed and what has changed
    (old_value, new_value))

Is it clearer now? if not, just tell me to try a better explanation

On 29 November 2011 21:33, Craig W. [email protected] wrote:

I want to know which is the best gem or plug-in to store and track
register changes for a rails 3.0.9 app

probably want to check out ‘acts_as_auted’ - I’ve used that in the past but not
with Rails 3 - appears that there is a version specifically for Rails 3

Or even acts_as_audited :slight_smile:

Colin

i am with paper trail
https://github.com/airblade/paper_trail

On Wed, Nov 30, 2011 at 2:33 AM, Craig W. [email protected]
wrote:

I want to know which is the best gem or plug-in to store and track
credit notes, etc.). Each one has many details (because they have many
updated or deleted)


You received this message because you are subscribed to the Google G.
“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 this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Naveed Ahmad
Software Engineer | 7vals
skype: naveed.ahmad.7
direct: +92-321-4263188
[email protected]
www.7vals.com

Thanks for the help

I’ll try them

On Nov 30, 2011, at 1:02 AM, Colin L. wrote:

I want to know which is the best gem or plug-in to store and track
register changes for a rails 3.0.9 app

probably want to check out ‘acts_as_auted’ - I’ve used that in the past but not
with Rails 3 - appears that there is a version specifically for Rails 3

Or even acts_as_audited :slight_smile:


brain was typing audited, fingers apparently decided to do something
different or perhaps my dog ate my homework.

Yes, acts_as_audited - evokes a time period when it seemed just about
every rails inspired gem was acts_as…

Actually it worked very well (acts_as_audited) but again, that was a
rails 0.x & 1.x project

Craig

On Nov 29, 2011, at 2:11 PM, Angelo C. wrote:

It is not clear what it is that is changing (a register?). Is it
documents, what I want to know is:

Is it clearer now? if not, just tell me to try a better explanation


probably want to check out ‘acts_as_auted’ - I’ve used that in the past
but not with Rails 3 - appears that there is a version specifically for
Rails 3

Craig

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs