Andy Stewart
f27763bf57
Clarify who was responsible for changes.
...
N.B. This commit adds an `originator` method to the Active::Record
mixin so be careful if your AR object already has a method of the same
name.
2010-06-28 14:03:35 +01:00
Andy Stewart
424724d678
Simplify code.
2010-06-28 11:27:08 +01:00
Andy Stewart
b43400e33b
Navigate to an item's previous and next version.
2010-06-22 14:42:57 +01:00
Andy Stewart
cc794c1002
Whitespace.
2010-06-22 14:42:57 +01:00
Andy Stewart
cc835027fa
Navigate back to reified item's version.
2010-06-22 14:42:53 +01:00
Andy Stewart
5405806b95
Add comments to explain InstanceMethods.
2010-04-06 17:27:15 +01:00
Andy Stewart
3036aa75b5
Store controller info. Allow other current_user methods.
...
PaperTrail can now store any information from the controller or request.
It's also easy to choose a method other than `current_user` for
PaperTrail to call to find out who was responsible for changes.
2010-03-19 18:53:49 +00:00
Andy Stewart
e68c2f965f
Refactor to separate concerns (model, controller).
2010-03-19 17:21:16 +00:00
Andy Stewart
4f4f814500
Global enable/disable for PaperTrail.
...
Thanks to these commits from jeremyw:
* 9254147
* 3748fd3..66463e6
2010-03-19 15:21:07 +00:00
Andy Stewart
4e1f3c8845
Added comments.
2010-02-18 16:35:41 +00:00
Andy Stewart
aadb158d13
Add tests for version_at instance method (and fix logic).
...
Manually extracted from commit 6ee25ef92593e87f87d1a29af74c6e3aaa92b566.
2010-02-18 16:22:26 +00:00
Jeremy Weiskotten
1aa0284bbe
Added version_at instance method to model.
2010-02-18 15:46:30 +00:00
Andy Stewart
55185cd448
Store user-defined metadata.
2010-01-06 12:57:54 +00:00
Andy Stewart
52981bfca3
Optionally ignore attributes.
2009-10-28 13:12:36 +00:00
Andy Stewart
e9a8648c22
First commit.
2009-05-27 16:21:20 +01:00