{"id":30668178,"url":"https://github.com/fatkodima/smart_ignored_columns","last_synced_at":"2025-11-11T11:27:50.140Z","repository":{"id":312077172,"uuid":"1044906454","full_name":"fatkodima/smart_ignored_columns","owner":"fatkodima","description":"Add deadlines to Active Record `ignored_columns`","archived":false,"fork":false,"pushed_at":"2025-08-28T12:31:16.000Z","size":131,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-28T18:18:11.519Z","etag":null,"topics":["activerecord","gem","rails","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/fatkodima.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2025-08-26T11:27:56.000Z","updated_at":"2025-08-28T13:05:19.000Z","dependencies_parsed_at":"2025-08-28T18:28:31.766Z","dependency_job_id":null,"html_url":"https://github.com/fatkodima/smart_ignored_columns","commit_stats":null,"previous_names":["fatkodima/smart_ignored_columns"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fatkodima/smart_ignored_columns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatkodima%2Fsmart_ignored_columns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatkodima%2Fsmart_ignored_columns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatkodima%2Fsmart_ignored_columns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatkodima%2Fsmart_ignored_columns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fatkodima","download_url":"https://codeload.github.com/fatkodima/smart_ignored_columns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatkodima%2Fsmart_ignored_columns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272984977,"owners_count":25026406,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["activerecord","gem","rails","ruby"],"created_at":"2025-08-31T23:09:54.684Z","updated_at":"2025-10-08T17:05:26.878Z","avatar_url":"https://github.com/fatkodima.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# SmartIgnoredColumns\n\n[\u003cimg src=\"tweet.png\" alt=\"Motivational tweet\" width=\"500px\"/\u003e](https://x.com/ciaran_lee/status/1953084875193385200)\n\nNow you won't forget to delete those ignored columns.\n\n## Requirements\n\n- ruby 3.2+\n- activerecord 7.2+\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"smart_ignored_columns\", group: [:development, :test]\n```\n\n## Usage\n\n1. Specify deadlines when ignoring columns:\n\n```ruby\nclass User \u003c ApplicationRecord\n  self.ignored_columns += [\n    { name: \"first_name\", remove_after: \"2025-08-24\" } # date can be a String or a Date\n  ]\nend\n```\n\n2. Run a check on CI to warn when it is time to remove ignored columns:\n\n```sh\nbundle exec rake smart_ignored_columns:obsolete\n```\n\nIf there are any obsolete ignored columns, the check will print them and exit with an error status code.\n\nIf you want to print all ignored columns with their deadlines, run:\n\n```sh\nbundle exec rake smart_ignored_columns:list\n```\n\n## Development\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/fatkodima/smart_ignored_columns.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffatkodima%2Fsmart_ignored_columns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffatkodima%2Fsmart_ignored_columns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffatkodima%2Fsmart_ignored_columns/lists"}