Skip to content

Commit

Permalink
Merge branch 'master' of github.com:msevestre/monologue
Browse files Browse the repository at this point in the history
  • Loading branch information
ospsuite committed Oct 2, 2012
2 parents ce0764d + ef8c94e commit 7e55566
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/models/monologue/post.rb
Expand Up @@ -30,7 +30,9 @@ def active_revision
def tag!(tags)
self.tags = tags.select { |t| t.present? }.map do |tag|
tag.strip!
Monologue::Tag.find_or_create_by_name(tag)
if tag.present?
Monologue::Tag.find_or_create_by_name(tag)
end
end
end

Expand Down

0 comments on commit 7e55566

Please sign in to comment.