{"id":15957474,"url":"https://github.com/mamantoha/mongoid-suicide","last_synced_at":"2026-02-17T12:02:25.407Z","repository":{"id":29330573,"uuid":"32864215","full_name":"mamantoha/mongoid-suicide","owner":"mamantoha","description":"Provides method to remove fields from Mongoid models. Including associations and validations.","archived":false,"fork":false,"pushed_at":"2026-01-14T11:27:28.000Z","size":117,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-12T15:54:31.553Z","etag":null,"topics":["mongodb","mongoid","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"flol/SysCP","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mamantoha.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-03-25T12:50:42.000Z","updated_at":"2026-01-14T11:25:47.000Z","dependencies_parsed_at":"2024-05-01T18:45:59.507Z","dependency_job_id":"aba19456-779d-43c3-927f-d73d859483a1","html_url":"https://github.com/mamantoha/mongoid-suicide","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.06666666666666665,"last_synced_commit":"78929152f302f9a1ba371aa4fef8d728b90bd22f"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/mamantoha/mongoid-suicide","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamantoha%2Fmongoid-suicide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamantoha%2Fmongoid-suicide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamantoha%2Fmongoid-suicide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamantoha%2Fmongoid-suicide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mamantoha","download_url":"https://codeload.github.com/mamantoha/mongoid-suicide/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamantoha%2Fmongoid-suicide/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29543359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T08:11:05.436Z","status":"ssl_error","status_checked_at":"2026-02-17T08:09:38.860Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["mongodb","mongoid","ruby"],"created_at":"2024-10-07T13:41:51.250Z","updated_at":"2026-02-17T12:02:25.402Z","avatar_url":"https://github.com/mamantoha.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Mongoid::Suicide Logo](https://raw.github.com/mamantoha/mongoid-suicide/master/mongoid-suicide.png)\n\n[![Ruby](https://github.com/mamantoha/mongoid-suicide/actions/workflows/ruby.yml/badge.svg)](https://github.com/mamantoha/mongoid-suicide/actions/workflows/ruby.yml)\n[![Gem Version](https://badge.fury.io/rb/mongoid-suicide.svg)](https://badge.fury.io/rb/mongoid-suicide)\n\nProvides methods to remove fields from Mongoid models\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'mongoid-suicide'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install mongoid-suicide\n\n## Usage\n\nSet up a `Mongoid::Suicide`:\n\n```ruby\nclass Person\n  include Mongoid::Document\n  include Mongoid::Suicide\n\n  field :username, type: String\nend\n\np = Person.first\np.username\n=\u003e ...\n```\n\nRemove a field from a document:\n\n```ruby\nPerson.remove_field(:username)\n\np = Person.first\np.username\n=\u003e NoMethodError: undefined method `username'\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/mamantoha/mongoid-suicide/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## License and Author\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\nCopyright (c) 2015-2026 by Anton Maminov\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmamantoha%2Fmongoid-suicide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmamantoha%2Fmongoid-suicide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmamantoha%2Fmongoid-suicide/lists"}