Module: AssociateJsonb::ArelExtensions::Visitors::Visitor
- Defined in:
- lib/associate_jsonb/arel_extensions/visitors/visitor.rb
Instance Method Summary collapse
Instance Method Details
#dispatch_cache ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/associate_jsonb/arel_extensions/visitors/visitor.rb', line 8 def dispatch_cache @dispatch_cache ||= Hash.new do |hash, klass| hash[klass] = "visit_#{(klass.name || ''). sub("AssociateJsonb::ArelNodes::SqlCasted", "Arel::Nodes::"). gsub('::', '_')}" end end |