Class: SpatialCache

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/spatial_cache.rb

Instance Method Summary collapse

Instance Method Details

#stale?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'app/models/spatial_cache.rb', line 4

def stale?
  spatial_model.has_spatial_features_hash? && self.features_hash != spatial_model.features_hash
end