{"id":26062402,"url":"https://github.com/work-design/rails_email","last_synced_at":"2025-04-11T11:09:48.464Z","repository":{"id":30959755,"uuid":"34517895","full_name":"work-design/rails_email","owner":"work-design","description":"Record rails error logs and Email logs, efficient and clean ","archived":false,"fork":false,"pushed_at":"2024-11-14T09:41:49.000Z","size":1370,"stargazers_count":24,"open_issues_count":7,"forks_count":6,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-11-14T10:32:43.321Z","etag":null,"topics":["engine","rails","ruby"],"latest_commit_sha":null,"homepage":"https://work.design/rails_log","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/work-design.png","metadata":{"funding":{"github":["qinmingyuan"]},"files":{"readme":"README.en.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-24T12:38:48.000Z","updated_at":"2024-11-14T09:41:53.000Z","dependencies_parsed_at":"2023-02-11T22:01:22.237Z","dependency_job_id":"afaf3a16-89c1-462b-b873-b9f54dfd97d0","html_url":"https://github.com/work-design/rails_email","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/work-design%2Frails_email","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/work-design%2Frails_email/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/work-design%2Frails_email/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/work-design%2Frails_email/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/work-design","download_url":"https://codeload.github.com/work-design/rails_email/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242573496,"owners_count":20151707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["engine","rails","ruby"],"created_at":"2025-03-08T16:00:06.401Z","updated_at":"2025-03-08T16:00:07.400Z","avatar_url":"https://github.com/work-design.png","language":"Ruby","readme":"# RailsLog\n\n\n## Features\n\n1. use Notifications and Subscriber, not rescue_from, not Rack middleware, No affect on Performance;\n2. 记录了非常详尽的debug信息。\n\n## 使用方法\n\nadd to gemfile，默认包含对controller 及 mailer 的日志记录；\n`gem 'rails_log'`\n\n如果只需要其中一个，在gemfile中指定 require\n\n`gem 'rails_log', require: 'log_mailer'`\n\n`gem 'rails_log', require: 'log_controller'`\n\n`gem 'rails_log', require: ['log_controller', 'log_mailer']`\n\nnothing any other to do;\n\n### 注意\n\n* 设置发送邮件返回 response\n\n```ruby\nconfig.action_mailer.smtp_settings = {\n  return_response: true\n}\n```\n\n* 设置邮件发送不成功raise error，并重发\n\n```ruby\n config.action_mailer.raise_delivery_errors = true\n```\n\n\nthen you can visit `log_records` to see error records\n\n\n## 依赖\n* [rails_com](https://github.com/qinmingyuan/rails_com) 一个通用的engine\n* [default_where](https://github.com/qinmingyuan/default_where) 用于处理查询","funding_links":["https://github.com/sponsors/qinmingyuan"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwork-design%2Frails_email","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwork-design%2Frails_email","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwork-design%2Frails_email/lists"}