lib/hanami/model/relation_name.rb in hanami-model-1.0.4 vs lib/hanami/model/relation_name.rb in hanami-model-1.1.0.beta1

- old
+ new

@@ -15,10 +15,10 @@ # @return [String] the relation name # # @since 0.7.0 # @api private def self.new(name) - Utils::String.new(super).underscore.pluralize + Utils::String.transform(super, :underscore, :pluralize) end end end end