Sha256: 1e3ba5161c739ff3e378bd5d7c88905c738517bae09409c117b4ddb1b39f3f07
Contents?: true
Size: 358 Bytes
Versions: 17
Compression:
Stored size: 358 Bytes
Contents
class Company < ActiveRecord::Base acts_as_taggable_on :locations, :markets has_many :markets, :through => :market_taggings, :source => :tag private def find_or_create_tags_from_list_with_context(tag_list, context) if context.to_sym == :markets Market.find_or_create_all_with_like_by_name(tag_list) else super end end end
Version data entries
17 entries across 17 versions & 1 rubygems