app/models/room.rb in reso-0.1.6.6 vs app/models/room.rb in reso-0.1.6.7
- old
+ new
@@ -1,4 +1,4 @@
class Room < ActiveRecord::Base
- belongs_to :room_category
- belongs_to :listing
+ belongs_to :room_category, optional: true
+ belongs_to :listing, optional: true
end