3
Rails 3.0.3 및 Ruby 1.9.2에서 acts-as-taggable-on 보석을 설정했습니다. 태그가 예상대로 작동하지만 taggings 테이블이 tagger_id를 캡처하지 않습니다. 내가 놓친 게 무엇인지 식별 사전에 어떤 도움acts_taggable_on tagger_id 또는 tagger_type을 기록하지 않음
class Course < ActiveRecord::Base
# attr_accessible :title, :description, :duration, :format
acts_as_taggable
class User < ActiveRecord::Base
# identifies user who tags as part of the acts-as-taggable-on gem
acts_as_tagger
감사 : 여기
내가 설정을 가지고 것입니다.