{"issue":{"created_at":"2011-12-09T08:44:08Z","state":"open","updated_at":"2011-12-09T19:45:34Z","comments":2,"user":{"gravatar_id":"72ee7b478a235f646c3495f03ebbe676","id":7265,"url":"https://api.github.com/users/airblade","avatar_url":"https://secure.gravatar.com/avatar/72ee7b478a235f646c3495f03ebbe676?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"airblade"},"body":"The current implementation of versions is a little confusing.  When a change is stored, the version record stores the pre-change object and who made the change.  This is sensible and useful.\r\n\r\nHowever the version model exposes this directly to the application.  When you look at an object at a particular version, to find out who saved the object that way you need to query the previous version's `whodunnit`.  Not ideal.\r\n\r\nI plan to change the domain model to a more natural API, better hiding the implementation details of the database.","assignee":null,"id":2499477,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"number":115,"title":"Make domain model more intuitive","html_url":"https://github.com/airblade/paper_trail/issues/115","closed_at":null,"url":"https://api.github.com/repos/airblade/paper_trail/issues/115","milestone":{"created_at":"2011-12-09T08:46:24Z","state":"open","closed_issues":0,"due_on":null,"creator":{"gravatar_id":"72ee7b478a235f646c3495f03ebbe676","id":7265,"url":"https://api.github.com/users/airblade","avatar_url":"https://secure.gravatar.com/avatar/72ee7b478a235f646c3495f03ebbe676?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"airblade"},"number":1,"description":"","title":"v3","url":"https://api.github.com/repos/airblade/paper_trail/milestones/1","open_issues":1}},"action":"created","comment":{"created_at":"2011-12-09T19:45:33Z","updated_at":"2011-12-09T19:45:33Z","user":{"gravatar_id":"72ee7b478a235f646c3495f03ebbe676","id":7265,"url":"https://api.github.com/users/airblade","avatar_url":"https://secure.gravatar.com/avatar/72ee7b478a235f646c3495f03ebbe676?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"airblade"},"body":"Yes, that looks much better.","id":3084462,"url":"https://api.github.com/repos/airblade/paper_trail/issues/comments/3084462"}}