From b77fcac50be3f3ee9cf6c6daa101f5e609ce8063 Mon Sep 17 00:00:00 2001 From: Thomas Wolfe Date: Wed, 6 Nov 2013 17:46:17 -0600 Subject: [PATCH] added a comment to explain self.name[13..-1] since I can't think of a more intutive way to handle that. --- lib/musicbrainz/models/base_model.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/musicbrainz/models/base_model.rb b/lib/musicbrainz/models/base_model.rb index a8975bb..eec8006 100644 --- a/lib/musicbrainz/models/base_model.rb +++ b/lib/musicbrainz/models/base_model.rb @@ -59,6 +59,7 @@ module MusicBrainz end def underscore_name + # self.name[13..-1] => removes MusicBrainz:: self.name[13..-1].underscore end