I''ve installed the plugin for taggable steroids, read the read me, followed the instructions, but I''m getting the error ''undefined method tag_list''. How is that possible? I assume that the method tag_list should be included as part of the plugin and there''s no mention of anything in the readme, etc. What am I doing wrong here? Is there some code I need to add into the plugins directory? Where should this method be found (it''s not in the project at all)? TIA --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thorsten Mueller
2008-Apr-30 18:04 UTC
Re: newbie - trouble with acts_as_taggable_on_steroids
> I''ve installed the plugin for taggable steroids, read the read me, > followed the instructions, but I''m getting the error ''undefined method > tag_list''.how far did you follow it? did you define acts_as_taggable in your model? did you run the migrations?> How is that possible? I assume that the method tag_list > should be included as part of the plugin and there''s no mention of > anything in the readme, etc.yep, right. using acts_as_taggable in your model should add those functions> What am I doing wrong here? Is there some > code I need to add into the plugins directory? Where should this > method be found (it''s not in the project at all)?if you followed the installation process with: ruby script/plugin install ... it should have put the code in the folder vendor/plugins below you project root. if it''s not there, something went wrong. next: restart the server. otherwise the plug won''t be loaded. run the migrations, make sure the tags and taggings tables exist in your model declare acts_as_taggable that should be all... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks for your reply, yes I did follow all the instructions. restarting the server did not help. i went back to an earlier version and redid the plugin install, etc. and it worked fine this time. I guess something just came in wonky on my first try. Thanks for the sanity check. On Apr 30, 11:04 am, Thorsten Mueller <rails-mailing-l...@andreas- s.net> wrote:> > I''ve installed the plugin for taggable steroids, read the read me, > > followed the instructions, but I''m getting the error ''undefined method > > tag_list''. > > how far did you follow it? did you define acts_as_taggable in your > model? > did you run the migrations? > > > How is that possible? I assume that the method tag_list > > should be included as part of the plugin and there''s no mention of > > anything in the readme, etc. > > yep, right. using acts_as_taggable in your model should add those > functions > > > What am I doing wrong here? Is there some > > code I need to add into the plugins directory? Where should this > > method be found (it''s not in the project at all)? > > if you followed the installation process with: > ruby script/plugin install ... > it should have put the code in the folder > vendor/plugins below you project root. > if it''s not there, something went wrong. > > next: > restart the server. otherwise the plug won''t be loaded. > > run the migrations, make sure the tags and taggings tables exist > > in your model declare > acts_as_taggable > > that should be all... > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---