{"action":"created","issue":{"url":"https://api.github.com/repos/croogo/croogo/issues/645","labels_url":"https://api.github.com/repos/croogo/croogo/issues/645/labels{/name}","comments_url":"https://api.github.com/repos/croogo/croogo/issues/645/comments","events_url":"https://api.github.com/repos/croogo/croogo/issues/645/events","html_url":"https://github.com/croogo/croogo/issues/645","id":70092436,"number":645,"title":"2.2 Croogo.Trackable and cake's created/modified don't work for magic HABTM","user":{"login":"jhli","id":4612342,"avatar_url":"https://avatars.githubusercontent.com/u/4612342?v=3","gravatar_id":"","url":"https://api.github.com/users/jhli","html_url":"https://github.com/jhli","followers_url":"https://api.github.com/users/jhli/followers","following_url":"https://api.github.com/users/jhli/following{/other_user}","gists_url":"https://api.github.com/users/jhli/gists{/gist_id}","starred_url":"https://api.github.com/users/jhli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhli/subscriptions","organizations_url":"https://api.github.com/users/jhli/orgs","repos_url":"https://api.github.com/users/jhli/repos","events_url":"https://api.github.com/users/jhli/events{/privacy}","received_events_url":"https://api.github.com/users/jhli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-22T10:44:53Z","updated_at":"2015-04-22T10:45:50Z","closed_at":null,"body":"If you don't define HABTM but simply use conventional database names to let cake detect those associations (thus don't resolve them into multiple basic HasMany/BelongsTo relationships) then you won't get:\r\n\r\n1.) Croogo Trackable, e.g. you can't know who added/changed what associations\r\n2.) created/modified, e.g. you can't know when that happend\r\n\r\nI'd say flag als enhancement though non-cake/technical users might consider this a bug.\r\n\r\np.s.: It does only make sense if you also bake the HABTM model itself and have it listed, that way you can inspect the associations and when and who did add/modify them."},"comment":{"url":"https://api.github.com/repos/croogo/croogo/issues/comments/95131730","html_url":"https://github.com/croogo/croogo/issues/645#issuecomment-95131730","issue_url":"https://api.github.com/repos/croogo/croogo/issues/645","id":95131730,"user":{"login":"jhli","id":4612342,"avatar_url":"https://avatars.githubusercontent.com/u/4612342?v=3","gravatar_id":"","url":"https://api.github.com/users/jhli","html_url":"https://github.com/jhli","followers_url":"https://api.github.com/users/jhli/followers","following_url":"https://api.github.com/users/jhli/following{/other_user}","gists_url":"https://api.github.com/users/jhli/gists{/gist_id}","starred_url":"https://api.github.com/users/jhli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhli/subscriptions","organizations_url":"https://api.github.com/users/jhli/orgs","repos_url":"https://api.github.com/users/jhli/repos","events_url":"https://api.github.com/users/jhli/events{/privacy}","received_events_url":"https://api.github.com/users/jhli/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T10:45:50Z","updated_at":"2015-04-22T10:45:50Z","body":"I might get to this ticket (and hopefully a fix) but it will be later this year."}}