1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00
Commit graph

14 commits

Author SHA1 Message Date
Zachery Hostens
6878fc5a0e fix up code and tests to succeed 2009-11-19 21:15:30 -06:00
Andy Stewart
52981bfca3 Optionally ignore attributes. 2009-10-28 13:12:36 +00:00
Andy Stewart
ef09502001 Try to call current_user regardless of its visibility. 2009-07-24 08:19:16 +01:00
Andy Stewart
946a612d4e Added index method to Version. 2009-06-22 16:37:00 +01:00
Andy Stewart
c6441656d4 Previous and next methods for Version. 2009-06-19 16:46:33 +01:00
Andy Stewart
c2e80fba9e Adjusted whitespace for legibility. 2009-06-19 10:15:49 +01:00
Andy Stewart
350edcf4c0 Use the item we belong to where possible.
This has two benefits:
* Associations work since we are using the real object.
* The code is simpler and more intuitive.
2009-06-18 18:21:20 +01:00
Andy Stewart
2958a816a9 Copy only the versions has_many association. 2009-06-18 11:38:32 +01:00
Andy Stewart
376a493a24 Copy has_many associations when reifying. 2009-06-18 11:10:54 +01:00
Andy Stewart
86f89faf3b Don't save an object when associating it to reified model. 2009-06-18 10:30:33 +01:00
Andy Stewart
a4300d4d98 Preserve has_one associations when reifying a version. 2009-06-18 09:45:46 +01:00
Andy Stewart
b6bd59fd3d Handle single table inheritance when reifying. 2009-06-17 12:36:23 +01:00
Andy Stewart
f1e29eabcd Let Jeweler manage version. 2009-05-27 16:42:45 +01:00
Andy Stewart
e9a8648c22 First commit. 2009-05-27 16:21:20 +01:00