lib/superstore/associations.rb in superstore-2.3.0 vs lib/superstore/associations.rb in superstore-2.4.0
- old
+ new
@@ -34,9 +34,13 @@
Superstore::Associations::Builder::HasOne.build(self, name, options)
else
super
end
end
+
+ def belongs_to_required_by_default
+ false
+ end
end
end
end