Displaying 1 result from an estimated 1 matches for "some_photo".
Did you mean:
some_phone
2011 Mar 15
1
Acts as taggable on ( tag ownership question )
From the acts as taggable doc I seeTag Ownership
Tags can have owners:
class User < ActiveRecord::Base
acts_as_tagger
end
class Photo < ActiveRecord::Base
acts_as_taggable_on :locations
end
@some_user.tag(@some_photo, :with => "paris, normandy", :on => :locations)
@some_user.owned_taggings
@some_user.owned_tags
@some_photo.locations_from(@some_user)
but I would like to be able to do something like
@some_photo.tagged_with("xxx, yyy", :from => @some_user)
but I can'...