Paul Snider
Paul Snider
I was unable to load the module PolicyManager::Concerns::UserTerms due to zeitwerk loading I got around this by moving this module out of Concerns directory. Explanation for why this doesn't work...
class QuestionAttribute < ApplicationRecord actable accepts_nested_attribute_for ? end class Industry acts_as :question_attribute, dependent: :nullify, autosave: false end I have this setup with several classes like industry. I want to include...
The name's for the states of Saint Lucia are all nil. See below. [pry(main)> c.data["name"] => "Saint Lucia" [pry(main)> c.states.map { |state| state.last["name"] } => [nil, nil, nil, nil, nil,...
Phoner::Country.find_by_country_isocode("kz") Traceback (most recent call last): 1: from (irb):12 NoMethodError (undefined method `detect' for nil:NilClass) Is Kazakhstan in your database? Also, here can I find list of supported countries?
On of our users insists this is a valid number for Zambia: '+260760806230' Does the gem rule need to be updated?
This phone number should pass validation: +387-64-455-1447