Hi,
did you add require_gem ‘acts_as_taggable‘ in your environment.rb?
Ettore
Il giorno 17/nov/05, alle ore 14:30, Vamsee Kanakala ha scritto:
> Hello,
>
> I''m trying to use acts_as_taggable, I was able to install
the
> gem properly. I have the following model class:
>
> class Contact < ActiveRecord::Base
> acts_as_taggable
> end
>
> It gives me the following error when I start script/console and do
> this:
>
> >> contact = Contact.new
> NameError: undefined local variable or method `acts_as_taggable''
> for Contact:Class
>
> Maybe I''m missing something basic, because irb -r
''taggable'' and
> irb -r ''acts_as_taggable'' don''t seem to work
either.
>
> TIA,
> Vamsee.
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>