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