![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
paranoia_uniqueness_validator
Advanced tools
Adds validates_uniqueness_without_deleted
.
This validator will ignore any record that has a non-null value for the
deleted_at
field. This gem was made specifically for use with the
Paranoia gem but it can be used with any
gem that uses the deleted_at
field for marking records as deleted.
Add this line to your application's Gemfile:
# Rails 7.0
gem 'paranoia_uniqueness_validator', '3.4.0'
# Rails 7.1
gem 'paranoia_uniqueness_validator', '3.5.0'
# Rails 7.2
gem 'paranoia_uniqueness_validator', '3.6.0'
# Rails 8.0
gem 'paranoia_uniqueness_validator', '3.7.0'
And then execute:
$ bundle
Or install it yourself as:
$ gem install paranoia_uniqueness_validator
This validator supports all configuration options used by the base ActiveRecord uniqueness validator. For more information check out the Rails API documentation.
class SomeModel < ActiveRecord::Base
validates :some_field, uniqueness_without_deleted: true
end
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that paranoia_uniqueness_validator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.