def set_fragment_html(page_part_key, locale, new_fragment_html)
      # content_key = slug + "_" + page_part_key
      # save in content model associated with page
      page_fragment_content = contents.find_or_create_by(page_part_key: page_part_key)
      content_html_col = "raw_" + locale + "="
      # above is the col used by globalize gem to store localized data
      # page_fragment_content[content_html_col] = fragment_html
      page_fragment_content.send content_html_col, new_fragment_html
      page_fragment_content.save!

      page_fragment_content
    end
def set_fragment_html(page_part_key, locale, new_fragment_html)
      # content_key = slug + "_" + page_part_key
      # save in content model associated with page
      page_fragment_content = contents.find_or_create_by(page_part_key: page_part_key)
      content_html_col = "raw_" + locale + "="
      # above is the col used by globalize gem to store localized data
      # page_fragment_content[content_html_col] = fragment_html
      page_fragment_content.send content_html_col, new_fragment_html
      page_fragment_content.save!

      page_fragment_content
    end
currently only used in
 /pwb/spec/controllers/pwb/welcome_controller_spec.rb