diff --git a/app/models/metadata_title.rb b/app/models/metadata_title.rb index ef097473..729a71fd 100644 --- a/app/models/metadata_title.rb +++ b/app/models/metadata_title.rb @@ -12,11 +12,10 @@ class MetadataTitle < MetadataString # # @return [String] def default_value - @default_value ||= - post.attributes.select do |attr| - post[attr].titleize? - end.map do |attr| - post[attr].to_s - end.compact.join(' ').strip.squeeze(' ') + post.attributes.select do |attr| + post[attr].titleize? + end.map do |attr| + post[attr].to_s + end.compact.join(' ').strip.squeeze(' ') end end