Hello!

What do you think about `allow_modifications` option for `
Sequel::Plugins::StaticCache 
<http://sequel.jeremyevans.net/rdoc-plugins/classes/Sequel/Plugins/StaticCache.html>
`?

Example, before:

class Artist
  plugin :static_cache

  def self.static_cache_allow_modifications?
    true
  end
end

and after:

class Artist
  plugin :static_cache, allow_modifications: true
end

Such usage looks more intuitive and simple (especially for many cached 
models), in compression with the class method defining (in each model), 
which always returns `true`.

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to