I'm enjoying using acts_as_taggable and am trying many ways to write an addtional integer key field to the tag.rb so it can in turn belong_to a parent table. I've tried opening up the acts_as_taggable.rb trying to find a way to add another attribute but it's so WEIRD?? Then, I thought I would simply use a before_create callback on the tag.rb model. Inside the controller.action that calls this method there are some instance variables available. However, when I reference this instance variable while taking a slight detour into the tag.rb code it becomes unavailable? In the controller.create I call this code: @rateme = @slicehit.ratemes.new(params[:rateme]) @rateme.user = current_user @rateme.tag_with params[:tags] if params[:tags] respond_to do |format| if @rateme.save
However in the before_create code in the TAG model I use this; def after_create self.portal_id = @slicehit.portal_id end I always get the "nil.portal_id error", although you can see the @slicehit is healthy in the calling code? Has anyone out there ever modified this part of acts_as_taggable? Thank you, Kathy