Displaying 1 result from an estimated 1 matches for "ratem".
Did you mean:
rate
2007 Jul 22
2
Seek brilliant Rails programmer to add one field to acts_as_taggable
...n(self)
else
unless Tag.find_by_name(name)
Tag.create(:name => name, :project_id =>
project_id).on(self)
end
end
end
end
end
Here is how I call this in the controller:
def create
@rateme = Rateme.new(params[:rateme])
@rateme.user = current_user
params[:project_id] = @portal.project_id.to_s
@rateme.tag_with(params[:tags], params[:project_id]) if
params[:tags]
respond_to do |format|
if @rateme.save
For some reason, Ruby still sees that this ''tag_with&...