lib/og/relation.rb in og-0.21.2 vs lib/og/relation.rb in og-0.22.0

- old
+ new

@@ -40,10 +40,9 @@ if target_class == Object # If the target class is just an Object mark that class # as a polymorphic parent class. # This class acts as template # to generate customized versions of this class. - owner_class.meta(:polymorphic, owner_class) elsif target_class.respond_to?(:metadata) and target_class.metadata.polymorphic # If the target class is polymorphic, create a specialized # version of the class enclosed in the owner namespace.