Skip to content

issues Search Results · repo:fnando/validators language:Ruby

Filter by

9 results
 (86 ms)

9 results

infnando/validators (press backspace or delete to remove)

Hi I was wondering if it was possible to use the validators without using the class method. Instead of doing something like this: class Server ActiveRecord::Base validates_ip_address :address end ...
  • marcoschicote
  • Opened 
    on Apr 30, 2021
  • #22

After the gem update, the app began to raise this error: NameError: uninitialized constant ActiveModel::Validations::EmailValidator::RootDomain I ve consulted the docs and it says: Some validators ...
  • mateusluizfb
  • 1
  • Opened 
    on Oct 29, 2020
  • #21

Hello. Thanks for your work. I am in trouble with this gem, it validates the CPF properly. But the problem is that my CPF field is not required. When i try to submit my form, i receive the message that ...
  • Xavoski
  • Opened 
    on Oct 26, 2020
  • #20

Hi @fnando ! Thanks for your work on this gem. Since version 3.2.1, you require require root_domain : https://github.com/fnando/validators/search?q=root_domain you also require email_data : https://github.com/fnando/validators/search?q=email_data ...
  • bricesanchez
  • 3
  • Opened 
    on Sep 29, 2020
  • #18

Use alternative way syntax raise error, but the old one works nice. Failure/Error: validates :site, tld: true, url: true ArgumentError: Unknown validator: TldValidator # ./app/models/school.rb:42:in ...
  • wbotelhos
  • 1
  • Opened 
    on Jul 12, 2020
  • #17

Added gem to my GemFile: gem validators Runs the command: bundle install can check it was installed: Using validators 3.0.2 In my model I use: validates_cpf_format_of :cpf Got the message: cpf_cnpj ...
  • haroldofurtado
  • 2
  • Opened 
    on Aug 27, 2019
  • #14

First of all this is the perfect gem for my needs, awesome work! I am getting this error message all the time translation missing: en.activerecord.errors.models.domain.attributes.domain.invalid_hostname ...
  • neidiom
  • 2
  • Opened 
    on May 23, 2019
  • #13

Either put cpf_cnpj gem as dependencie in the Gemfile, or at least explict that it must be included if someone want to use cpf/cnpj validation...
  • Alan-M-Thomaz
  • 1
  • Opened 
    on Oct 5, 2018
  • #11

RubyGems.org doesn t report a license for your gem. This is because it is not specified in the gemspec of your last release. via e.g. spec.license = MIT # or spec.licenses = [ MIT , GPL-2 ] ...
  • bf4
  • 1
  • Opened 
    on Nov 14, 2013
  • #3
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub