pboucher
4/20/2017 - 10:21 PM

Find any field called tags or sg_tags on hosted infrastructure.

Find any field called tags or sg_tags on hosted infrastructure.

DisplayColumn.find(:all, :conditions=>{:name=>'tags'}).each do |dc|
  puts "Found tag field|#{ENV['RAILS_ENV']}|{#{dc.entity_type}"
end

DisplayColumn.find(:all, :conditions=>{:name=>'sg_tags'}).each do |dc|
  puts "Found sg_tags field|#{ENV['RAILS_ENV']}|{#{dc.entity_type}"
end