database_validations icon indicating copy to clipboard operation
database_validations copied to clipboard

Database validations for ActiveRecord

Results 8 database_validations issues
Sort by recently updated
recently updated
newest added

My first guess was something related to threads, then I tried to reproduce using Parallel gem, but I could not. I only get the expected behavior. Any ideas on how...

Adding `gem 'activerecord-postgis-adapter'` to your `Gemfile` and configuring `database.yml` to use the `postgis` adapter: ``` default: &default adapter: postgis encoding: unicode .... ``` Will yield a system that is incompatible...

Solving https://github.com/toptal/database_validations/issues/65 This PR introduce support of [activerecord-postgis-adapter](https://github.com/rgeo/activerecord-postgis-adapter). No major changes due to postgis adapter is fully compatible with default postgres adapter

Hi, I have a case scenario where I can assign multiple credentials but only one can be set as "primary" for a server but any amount can be non-primary. ```ruby...

Hello, I started using the gem considering the Rails problem with uniqueness and `accepts_nested_attributes_for`, but I'm having a problem that I'm not sure it's a gem limitation or a implementation...

I am receiving following message when using with Rubocop validations: ``` database_validations-1.1.1/lib/database_validations/rubocop/cop/belongs_to.rb:13: warning: Inheriting from `RuboCop::Cop::Cop` is deprecated. Use `RuboCop::Cop::Base` instead. ```

> Supported databases are PostgreSQL and MySQL. Note: Unfortunately, SQLite raises a poor error message by which we can not determine exact foreign key which raised an error. SQLite has...