module ActionView::Helpers::TextHelper

def get_cycle(name)

uses an instance variable of ActionView::Base.
guaranteed to be reset every time a page is rendered, so it
The cycle helpers need to store the cycles in a place that is
def get_cycle(name)
  @_cycles = Hash.new unless defined?(@_cycles)
  @_cycles[name]
end