# File lib/cell/caching.rb, line 44 def render_state(state, *args) state = state.to_sym return super(state, *args) unless cache?(state, *args) key = self.class.state_cache_key(state, self.class.version_procs[state].(self, *args)) options = self.class.cache_options[state].(self, *args) fetch_from_cache_for(key, options) { super(state, *args) } end