Lookup of missing features is not cached #30

Closed
grosser opened this Issue Dec 6, 2012 · 0 comments

Projects

None yet

2 participants

@grosser
Member
grosser commented Dec 6, 2012
development >> Arturo.feature_enabled_for?(:user_geo_location, nil)
  Arturo::Feature Load (0.5ms)   SELECT * FROM `arturo_features` WHERE (`arturo_features`.`symbol` = 'user_geo_location') LIMIT 1
development => nil
development >> Arturo.feature_enabled_for?(:user_geo_location, nil)
  Arturo::Feature Load (0.7ms)   SELECT * FROM `arturo_features` WHERE (`arturo_features`.`symbol` = 'user_geo_location') LIMIT 1
development => nil
@jamesarosen jamesarosen pushed a commit that closed this issue Mar 3, 2013
James A. Rosen [Fix #30] FeatureCaching: cache nils as :NO_SUCH_FEATURE to avoid re-…
…reads
a97aa63
@jamesarosen jamesarosen was assigned May 1, 2013
@jamesarosen jamesarosen was unassigned by zd-jparas Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment