lib/couch_potato/persistence/attachments.rb in couch_potato-0.2.14 vs lib/couch_potato/persistence/attachments.rb in couch_potato-0.2.15
- old
+ new
@@ -3,10 +3,10 @@
def self.included(base)
base.class_eval do
attr_writer :_attachments
def _attachments
- @_attachments || {}
+ @_attachments ||= {}
end
base.extend ClassMethods
end
end
\ No newline at end of file