{"id":14969798,"url":"https://github.com/anthonator/paranoia_uniqueness_validator","last_synced_at":"2025-05-16T18:10:14.207Z","repository":{"id":4987635,"uuid":"6145672","full_name":"anthonator/paranoia_uniqueness_validator","owner":"anthonator","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-18T20:01:49.000Z","size":141,"stargazers_count":47,"open_issues_count":0,"forks_count":17,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-12T17:46:31.741Z","etag":null,"topics":["paranoia","rails","rails-validations","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"pubnub/javascript","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anthonator.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}},"created_at":"2012-10-09T18:38:42.000Z","updated_at":"2024-11-18T20:01:52.000Z","dependencies_parsed_at":"2024-09-08T15:34:37.039Z","dependency_job_id":"adf0c22e-08f3-4750-9593-a13de2516177","html_url":"https://github.com/anthonator/paranoia_uniqueness_validator","commit_stats":{"total_commits":170,"total_committers":11,"mean_commits":"15.454545454545455","dds":"0.33529411764705885","last_synced_commit":"842ecc5712e0f3e80f36ff6eea4635c01a5bbd01"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonator%2Fparanoia_uniqueness_validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonator%2Fparanoia_uniqueness_validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonator%2Fparanoia_uniqueness_validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonator%2Fparanoia_uniqueness_validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthonator","download_url":"https://codeload.github.com/anthonator/paranoia_uniqueness_validator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254582907,"owners_count":22095518,"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":["paranoia","rails","rails-validations","ruby"],"created_at":"2024-09-24T13:42:24.323Z","updated_at":"2025-05-16T18:10:14.186Z","avatar_url":"https://github.com/anthonator.png","language":"Ruby","readme":"# ParanoiaUniquenessValidator\n\nAdds `validates_uniqueness_without_deleted`.\n\nThis validator will ignore any record that has a non-null value for the\n`deleted_at` field. This gem was made specifically for use with the\n[Paranoia](https://github.com/radar/paranoia) gem but it can be used with any\ngem that uses the `deleted_at` field for marking records as deleted.\n\n[![Gem Version](https://badge.fury.io/rb/paranoia_uniqueness_validator.png)](http://badge.fury.io/rb/paranoia_uniqueness_validator) ![ci](https://github.com/anthonator/paranoia_uniqueness_validator/workflows/ci/badge.svg) [![Coverage Status](https://coveralls.io/repos/anthonator/paranoia_uniqueness_validator/badge.png)](https://coveralls.io/r/anthonator/paranoia_uniqueness_validator) [![Code Climate](https://codeclimate.com/github/anthonator/paranoia_uniqueness_validator.png)](https://codeclimate.com/github/anthonator/paranoia_uniqueness_validator)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    # Rails 7.0\n    gem 'paranoia_uniqueness_validator', '3.4.0'\n\n    # Rails 7.1\n    gem 'paranoia_uniqueness_validator', '3.5.0'\n\n    # Rails 7.2\n    gem 'paranoia_uniqueness_validator', '3.6.0'\n\n    # Rails 8.0\n    gem 'paranoia_uniqueness_validator', '3.7.0'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install paranoia_uniqueness_validator\n\n## Configuration\n\nThis validator supports all configuration options used by the base ActiveRecord\nuniqueness validator. For more information check out the [Rails API documentation](http://api.rubyonrails.org/classes/ActiveRecord/Validations/ClassMethods.html#method-i-validates_uniqueness_of).\n\n## Usage\n\n```ruby\nclass SomeModel \u003c ActiveRecord::Base\n  validates :some_field, uniqueness_without_deleted: true\nend\n```\n\n## Contributing\n\n1. Fork it\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 new Pull Request\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonator%2Fparanoia_uniqueness_validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthonator%2Fparanoia_uniqueness_validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonator%2Fparanoia_uniqueness_validator/lists"}