search for: acts_as_audited

Displaying 12 results from an estimated 12 matches for "acts_as_audited".

2006 Sep 04
2
"include" versus "extend" - what's the difference
Hi, Just wondering when one would use "include" over "extend"? Both seem to bring in methods to the class no? The context is I''m just trying to understand why both are used with the acts_as_audited plugin: Full extract from plugin (used within here): ================================================== # Copyright (c) 2006 Brandon Keepers # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software...
2009 Nov 26
4
Is this a bug?
Hello all, while I''m using acts_as_audited(on jruby platform), after vendored the acts_as_audited, it reports some error, line 167, # Start observing the declared classes and their subclasses. def initialize Set.new(observed_classes + observed_subclasses).each { |klass| add_observer! klass } #this line end after some trace shows...
2008 Jul 01
0
acts_as_audited on ActiveResource
I came across this awesome plugin used for auditing models. This is an ActiveRecord extension. However I was wondering if I could tweak it a little to make it work for ActiveResource. In case you haven''t heard about acts_as_audited plugin, here is the link to check it out. http://opensoul.org/2006/07/21/acts_as_audited Is there anyone who has experience in similar context? Please help! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby o...
2006 Oct 10
0
"acts_as_audited" - anyone have code for displaying the YAML stored audit-changes?
Hi, Does anyone have the code to read in the activeRBAC changes (stored in yaml) and display them in a view they could post? For a given record in the audits table for example, and the yaml that is stored in the changes column. I have read in the yaml from the changes column for a given audit table entry, but just now wondering how to consume this and display it (my first time with YAML)
2011 Nov 29
7
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 -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this
2006 Aug 19
1
Re: DB Auditing
On Saturday 19 August 2006 11:25, Jeremy Cowgar wrote: > A recent thread titled "DB record versioning/audit" made me post this > message: > > I''ve created a plugin called "acts_as_logged". There already is acts_as_audited. Michael -- Michael Schuerig mailto:michael@schuerig.de http://www.schuerig.de/michael/
2011 Jun 16
1
Deep cloning an ActiveRecord
I have a situation where I want to duplicate an ActiveRecord including duplication of has_many relationships. I''ve seen a few plugins but it seems unclear if they will work on Rails3. So I was wondering if anyone has a good suggestion for a plugin they are currently using to do this? Basically I''m doing this because I have an object that I want to allow my users to edit. I
2006 Dec 11
1
Index help on Polymorphic Associations
Hello, I''m a newbie to aaf and rails and I hope anyone can help me with this. I have the following Models: class Project < ActiveRecord::Base acts_as_authorizable acts_as_audited :except => [:created_by, :updated_by ], :user_class_name => ''AuthenticatedSystem'', :user_method => ''current_user'' acts_as_ferret :fields => {:name => {:store => :yes}, :description => {:store => :yes},...
2006 Jul 26
1
AuditTrail in Rails
Hello there, I need to build an audit trail system for an application. So far I have been looking at acts_as_versioned and acts_as_versioned_association plugins. I am having troubles getting the second one to work. Any how, do you have any suggestions about how to build a robust audit trail? Thanks, Roland -- Posted via http://www.ruby-forum.com/.
2005 Sep 11
1
Patches awaiting decision
...*ClassName #1891 FormHelper documentation is confusing #1893 Prototype: Field.activate: Select only when possible #1899 link_to_remote should have href to support non-javascript browsers and spiders #1920 ActiveSupport loading of controllers #1924 ActiveRecord acts_as_tree dependent optional #1932 acts_as_audited #1945 Additional unittests for Routes #1949 Set tablename pre- and suffix on connect #1974 acts_as_versioned #1975 page/fragment file caching for windows #1983 associations with incorrect class_name have no error message to call their own #2023 Saving a record with two unsaved belongs_to associati...
2009 Dec 17
2
RFC: conflict_warnings plugin
...hat the resource has changed and their action may not have the desired effect. Under more advanced use it can conceivable be used for so much more: - Only update portions of a record that have changed and highlight them with Prototype or jQuery (requires some kind of model version tracking, maybe acts_as_audited) - Simplify actions upon failing to acquire a lock. - Enabling/Disabling some actions by when they occur. Usage/Examples. class ExamplesController < ApplicationController filter_conflicts :only => :confirm do respond_to do |format| format.html {render :action => "...
2007 Sep 07
12
Preconditions
...days. Is there a normal approach for preconditions? In JUnit, I might put a few assertions in the setUp() just to make sure that the test ''data'' I''ve created meets expectations before going to test it. So, for instance, I''ve got an object that is audited using acts_as_audited and I''d like to test the XML that results from model.revisions.to_xml(). I''ve created the object and modified it twice, so I expect there to be three revisions, as far as the test goes. It''s not really a ''spec'', because it''s not part of the con...