Ruby on Rails
Tuesday, November 29, 2011
i am with paper trail
https://github.com/airblade/paper_trail
--
Naveed Ahmad
-- On Wed, Nov 30, 2011 at 2:33 AM, Craig White <craig.white@ttiltd.com> wrote:
----
On Nov 29, 2011, at 2:11 PM, Angelo Cordova wrote:
>
>
> On 29 nov, 17:14, Colin Law <clan...@googlemail.com> wrote:
>> On 29 November 2011 18:33, Angelo Cordova <acord...@gmail.com> 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
>
>
> 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
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
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
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
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment