Open constantm opened 9 years ago
Hi @constantm As you can see from the first migration 1_acts_as_taggable_on_migration.rb the declared type for a tag 'name' is string (without an explicit limit), this being transformed by Rails into a varchar column (255 characters max) for both Postgres and MySql and this is the reason of the validation you spotted for the tag 'name' field. If you think you need a tag 'name' longer than 255 chars you could consider forking, adding a migration from 'string' to 'text' and erase or extend the validation maximum size.
@constantm, make it configurable with 255 as default and send a PR.
Okay I'm not missing anything then. I'll see what I can do.
+1 for a PR with this feature.
Not sure if I'm missing something, but how does one remove the 255 character limit imposed on tags?
https://github.com/mbleigh/acts-as-taggable-on/blob/1c257ad9f69e7c54fa6615160238ff929d23ba9f/lib/acts_as_taggable_on/tag.rb#L15