Sha256: a262e8834a64a1e8021be97d29349a3074b3128e74cc1d8b92d6b111e0b5dcb4
Contents?: true
Size: 359 Bytes
Versions: 14
Compression:
Stored size: 359 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
14 entries across 13 versions & 4 rubygems