Sha256: 649a2e363d9aafab14fb851ad7e4040adb402b0cdf4e3c8138c957d293db887f
Contents?: true
Size: 328 Bytes
Versions: 20
Compression:
Stored size: 328 Bytes
Contents
class DomainTerm < ActiveRecord::Base deprecated_attr_accessible :model, :term # TODO we should add an index on this join table and remove the uniq query if Rails::VERSION::MAJOR > 3 has_and_belongs_to_many :local_authorities, -> {uniq} else has_and_belongs_to_many :local_authorities, :uniq=> true end end
Version data entries
20 entries across 20 versions & 2 rubygems