{"id":16102373,"url":"https://github.com/sshaw/ignored_columns_tasks","last_synced_at":"2026-04-17T03:02:40.482Z","repository":{"id":184693359,"uuid":"672317633","full_name":"sshaw/ignored_columns_tasks","owner":"sshaw","description":"Rails tasks for managing Active Record ignored columns","archived":false,"fork":false,"pushed_at":"2023-07-31T01:07:47.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-27T11:41:20.112Z","etag":null,"topics":["active-record","activerecord","activerecord-migrations","database","ignored-columns","rails","rake"],"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/sshaw.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","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}},"created_at":"2023-07-29T16:56:31.000Z","updated_at":"2024-04-27T11:41:20.113Z","dependencies_parsed_at":"2023-07-29T18:46:02.901Z","dependency_job_id":null,"html_url":"https://github.com/sshaw/ignored_columns_tasks","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"75260488f9a5df0953dd8e808b9eed0fccea01a6"},"previous_names":["sshaw/ignored_columns_tasks"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fignored_columns_tasks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fignored_columns_tasks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fignored_columns_tasks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fignored_columns_tasks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshaw","download_url":"https://codeload.github.com/sshaw/ignored_columns_tasks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419871,"owners_count":20936013,"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":["active-record","activerecord","activerecord-migrations","database","ignored-columns","rails","rake"],"created_at":"2024-10-09T18:53:40.697Z","updated_at":"2026-04-17T03:02:35.444Z","avatar_url":"https://github.com/sshaw.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ignored Columns Tasks\n\nRails tasks for managing\n[Active Record ignored columns](https://api.rubyonrails.org/v7.0.6/classes/ActiveRecord/ModelSchema/ClassMethods.html#method-i-ignored_columns-3D).\n\n## Installation\n\nAdd this line to your application's `Gemfile` in the `:development` group:\n\n```ruby\ngroup :development do\n  gem \"ignored_columns_tasks\"\nend\n```\n\n## Usage\n\nAll functionality is provided as Rake tasks.\n\n### Generating a Migration to Drop Ignored Columns\n\nThis will generate (but not run!) migrations to drop columns currently being ignored. One migration is generated per model:\n\n```\n./bin/rails ignored_columns:migration\n```\n\nIf you have ignored columns that must not be dropped add them to the `SKIP_COLUMNS` environment variable:\n\n```\n./bin/rails ignored_columns:migration SKIP_COLUMNS=\"some_column,another_column\"\n```\n\nYou can set this once for your project instead of specifying it every time.\nIn this case it is recommended to use the `IGNORED_COLUMNS_TASKS_SKIP_COLUMNS` environment variable:\n\n```sh\nexport IGNORED_COLUMNS_TASKS_SKIP_COLUMNS=\"some_column,another_column\"\n```\n\nThis task can also be limited to a single model by setting the `MODEL` environment variable:\n\n```\n./bin/rails ignored_columns:migration MODEL=User\n```\n\n#### Strong Migrations\n\nIf your project uses [Strong Migrations](https://github.com/ankane/strong_migrations) the `remove_column` call\nwill be wrapped in a `safety_assured` block.\n\n### Ignored Columns That Have Been Dropped From Your Database\n\nThis will print ignored columns that no longer exist the database:\n\n```\n./bin/rails ignored_columns:dropped\n```\n\nThis can be limited to a single model via the `MODEL` environment variable:\n\n```\n./bin/rails ignored_columns:dropped MODEL=User\n```\n\n## Author\n\nSkye Shaw (skye.shaw +AT+ gmail)\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%2Fsshaw%2Fignored_columns_tasks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshaw%2Fignored_columns_tasks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshaw%2Fignored_columns_tasks/lists"}