I’ve installed the acts_as_taggable plugin and modifed it according to
the tutorial form making it user specific
I keep getting errors when I try to tag things, however, and have traced
the problem to the line of the tag_with function that calls the
find_or_create_by_name function. So I fired up the console and did the
Loading development environment.
Tag.find_or_create_by_name(“ruby rails”, User.find(2))
NoMethodError: undefined method
find_or_create_by_name' for Tag:Class from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1123:inmethod_missing’
Is this some sort of problem with my rails version? I looked in my ruby
folder and I have versions 1.0.0, 1.1.0, and 1.1.2 in the gems folder.
Is my application possibly using the wrong folder? Or do i need to
update the active record gem somehow?
If anyone has advice, please send it my way. Thanks.