lib/hanami/model/relation_name.rb in hanami-model-1.0.0 vs lib/hanami/model/relation_name.rb in hanami-model-1.0.1
- old
+ new
@@ -10,15 +10,15 @@
#
# @since 0.7.0
# @api private
class RelationName < EntityName
# @param name [Class,String] the class or its name
- # @return [Symbol] the relation name
+ # @return [String] the relation name
#
# @since 0.7.0
# @api private
def self.new(name)
- Utils::String.new(super).underscore.pluralize.to_sym
+ Utils::String.new(super).underscore.pluralize
end
end
end
end