Skip to content

Instantly share code, notes, and snippets.

@wm
Created June 4, 2010 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wm/425696 to your computer and use it in GitHub Desktop.
Save wm/425696 to your computer and use it in GitHub Desktop.
class Exercise < ActiveRecord::Base
acts_as_tagger
end
class Observation < ActiveRecord::Base
acts_as_taggable_on :locations
end
@current_exercise.tag(@some_observation, :with => "SaveNYC", :on => :missions)
@current_exercise.owned_taggings
@current_exercise.owned_tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment