simonlei / grailsactsastaggable

Automatically exported from code.google.com/p/grailsactsastaggable
0 stars 0 forks source link

Improve taggable type name #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, the plugin uses delegate.class.toString() as the taggable type
of Tagging, resulting in the string "class Foo" (for Foo.groovy) stored in
the database for the taggable type. A cleaner (and more compatible w/
Rails) way is to use delegate.class.name, which results in 'Foo' being
stored in the database. 

Attached is the patch. 

Original issue reported on code.google.com by akoch...@gmail.com on 7 Oct 2008 at 11:46

Attachments: