{"id":19001494,"url":"https://github.com/bumi/history-logger","last_synced_at":"2026-01-27T12:37:29.285Z","repository":{"id":66382320,"uuid":"68640","full_name":"bumi/history-logger","owner":"bumi","description":"DO NOT USE! - OLD!  Easy (User)Action logging. ","archived":false,"fork":false,"pushed_at":"2008-10-29T15:52:39.000Z","size":84,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-01T13:31:17.251Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://railslove.com","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bumi.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-10-28T02:08:53.000Z","updated_at":"2019-08-13T13:39:48.000Z","dependencies_parsed_at":"2023-02-20T03:05:14.035Z","dependency_job_id":null,"html_url":"https://github.com/bumi/history-logger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bumi/history-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Fhistory-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Fhistory-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Fhistory-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Fhistory-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bumi","download_url":"https://codeload.github.com/bumi/history-logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Fhistory-logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28813215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T18:11:25.209Z","updated_at":"2026-01-27T12:37:29.271Z","avatar_url":"https://github.com/bumi.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"HistoryLogger\n=============\n\nGenerator to generate a model for easy (User)Action logging. \nYou can use it for internal logging/reporting stuff but also for creating a facebook-like news stream \n\n\nUsage\n=======\nscript/generate history [model name]\n\nfor example:\nscript/generate history UserAction\n\nHave a look at the generated model for more information.\n\nExample\n=======\n\nclass Comment \u003c AR:Base\n\n\tafter_create :log_action\n\n\tprivate\n\t\tdef after_create\n\t\t\tUserAction.log_new_comment(:user=\u003eself.user, :linked=\u003eself, :to=\u003eself.commentable)\n\t\tend\nend\n\n\n\nNote:\n=======\n\nthis code is a bit old and experimental... but it's used in several production sites ;)\n\n\nCopyright (c) 2007 [Michael Bumann - railslove.com], released under the MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbumi%2Fhistory-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbumi%2Fhistory-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbumi%2Fhistory-logger/lists"}