app/models/video.rb in
reso-0.1.6.6
vs app/models/video.rb in
reso-0.1.6.7
- old
+ new
@@ -1,3 +1,3 @@
class Video < ListingMedia
- belongs_to :listing
+ belongs_to :listing, optional: true
end