Skip to content

ArgumentError: Unknown validator: 'BicValidator' #4

@Kosmas

Description

@Kosmas

Trying to use the gem in a model with a BIC field called encrypted_BIC results in :

ArgumentError: Unknown validator: 'BicValidator'

after installing the gem and following the installations instructions.

the model has the following:

class ModelName < ActiveRecord::Base
...
validates :encrypted_BIC, bic: true
...
end

and when trying in the console to do:

ModelName.new

then get the above error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions