mbleigh / acts-as-taggable-on

A tagging plugin for Rails applications that allows for custom tagging along dynamic contexts.
http://mbleigh.lighthouseapp.com/projects/10116-acts-as-taggable-on
MIT License
4.96k stars 1.2k forks source link

is it possible create records from seed data? #1008

Closed cane-bt closed 3 years ago

cane-bt commented 3 years ago

I posted a question on stackoverflow. Is there a solution for the link below?

ruby on rails - Unable to populate datas from seed file - Stack Overflow

seuros commented 3 years ago

Yes it possible . In your code you need to use the full namespace for the code to work : ActsAsTaggableOn::Tagging not just Tagging.