Giter Site home page Giter Site logo

paranoia_uniqueness_validator's People

Contributors

anthonator avatar benwoodward avatar billiam avatar carlosmartinez avatar craigweston avatar dependabot-preview[bot] avatar dependabot[bot] avatar kivanio avatar pzgz avatar shiro16 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

paranoia_uniqueness_validator's Issues

ActiveRecord 6.1 support

Hey there! We're bumping to Rails 6.1 soon. Is there any chance of making a new release of this gem with 7f7c2e2 in it?

Happy to pitch in if you'd like a hand with anything :)

Not work with rails 5.0.2

I deleted a user with DEVISE, so when I'm going to create a new one that has a deleted email, the problem happens and the gem does not work

Specifying the column name?

I've use an external database (schema is not under my control) that has a field , "deleted_timestamp" instead of "deleted_at".

acts_as_paranoid accepts a column name, like this:

acts_as_paranoid column: :account_deleted_ts

Is there any way to tell this validator to use a different column?

Does this work with scope?

Such as:

validate :emission_component_uid, uniqueness_without_deleted: { scope: :routing_group_id, message: 'is already taken in the Routing Group' }

Thanks.

Rails 5 Update

Hi,

I'm working for a company that relies on this gem and want to ask if there are any plans to update this it for use with rails5? I forked the repository and added some changes which work with activerecord5, but
the spec which tests the use of the default_sentinel_value is failing and i can't seem to wrap my head around the issue. If you give me a hand, I'd be happy to do as much as i can to get a next version running. Any help is much appreciated.

Sincerely,
Max

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.