app/helpers/swimmers_helper.rb
# Getter for a unique string key viable for use as a cache key for fragments involving
# the rending of any specified <tt>action_name</tt> of this controller.
#
Getter for a unique string key viable for use as a cache key for fragments involving
the rending of any specified action_name of this controller.
Getter for a unique string key viable for use as a cache key for fragments involving the rending of any specified action_name of this controller .
def cache_key_for_swimmer( action_name, swimmer_id, max_updated_at, show_passages = :true, show_trainings = :true, subentity_id = nil )
    [
      action_name,
      swimmer_id,
      max_updated_at.to_i.to_s,
      I18n.locale.to_s,
      show_passages,
      show_trainings,
      subentity_id,
    ].compact.join('-')
  end
def cache_key_for_swimmer ( action_name , swimmer_id , max_updated_at , show_passages = :true , show_trainings = :true , subentity_id = nil ) [ action_name , swimmer_id , max_updated_at . to_i . to_s , I18n . locale . to_s , show_passages , show_trainings , subentity_id , ] . compact . join ( '-' ) end
Getter for a unique string key viable for use as a cache key for fragments involving
the rending of any specified <tt>action_name</tt> of this controller.
Getter for a unique string key viable for use as a cache key for fragments involving the rending of any specified <tt > action_name< / tt > of this controller .
action_name
<not_specific>
swimmer_id
<not_specific>
max_updated_at
<not_specific>
show_passages
<not_specific>
show_trainings
<not_specific>
subentity_id
<not_specific>