You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: articles_helper.rb
    path of file: ./repos/website/app/helpers
    
    the code of the file until where you have to start completion: module ArticlesHelper
  def live_blog_article?
    @live_blog
  end

  def localizations_for article
    displayable_localizations article
  end

  def displayable_localizations article
    return article.localizations if signed_in?

    article.localizations.filter_map { |localization| localization
    
  def link_to_dates year: nil, month: nil, day: nil, show_year: true, show_month: true, show_day: true
    show_month = false if month.nil?
    show_day   = false if day.nil?

    links = []

    month = month.to_s.rjust(2, '0') unless month.nil?
    day   = day.to_s.rjust(2, '0')   unless day.nil?

    if year && show_year
      links << link_to_unless_current(
        year,
        article_archives_path(year),
        rel:   'archives',
        class: 'year'
      )
    end