lib/superstore/associations.rb in superstore-2.4.4 vs lib/superstore/associations.rb in superstore-2.5.0
- old
+ new
@@ -1,9 +1,14 @@
module Superstore
module Associations
extend ActiveSupport::Concern
- module ClassMethods
+ included do
+ include ActiveRecord::Associations
+ extend ClassOverrides
+ end
+
+ module ClassOverrides
# === Options
# [:class_name]
# Use if the class cannot be inferred from the association
# [:polymorphic]
# Specify if the association is polymorphic