Sha256: bb219bfe6e30391ca227afc4aeaf10e81939f41691ba22b99120e14f37a912d3

Contents?: true

Size: 250 Bytes

Versions: 1

Compression:

Stored size: 250 Bytes

Contents

module Highrise
  module Taggable
    def tag!(tag_name)
      # thanks for the user Inka, http://forum.37signals.com/highrise/forums/15/topics/1312?page=2
      self.post(:tags, :name => tag_name) unless tag_name.blank?
      true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slainer68-highrise-0.6.2 lib/highrise/taggable.rb