app/models/blogo/post.rb
# Array of tag names. Storing arrays in +tags_string+ we don't need to make
# many-to-many join with tags table to get tag names.
#
# @return [Array<String>]
Array of tag names. Storing arrays in +tags_string+ we don't need to make
many-to-many join with tags table to get tag names.
Array of tag names . Storing arrays in + tags_string + we don ' t need to make many - to - many join with tags table to get tag names .
def tag_names
    if tags_string
      tags_string.split(',').map(&:strip)
    else
      []
    end
  end
def tag_names if tags_string tags_string . split ( ',' ) . map ( & :strip ) else [ ] end end
Array of tag names.
Array of tag names .
None
Array<String>