Skip to content

configuring a dynamic key? #15

Description

@adamrubin

The following allows me to run use the 'current' method for the key "zone_id":

Von.configure do |config|
  config.counter 'zone_id', current: [ :day, :week, :month, :year ]
end

However, if I have a key that's based on a unique ID (zone_id:xxx), is there a way to configure Von to provide 'current' counts for all keys matching zone_id:* ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions