lib/infuser/collections/proxy.rb
def find_or_create id
        find(id) || begin
          item = klass.new(id: id)
          set << item
          item
        end
      end
# For items with subitems that all live within the same table, eg a contact and it's 3 email addresses
For items with subitems that all live within the same table, eg a contact and it's 3 email addresses
For items with subitems that all live within the same table eg a contact and it ' s 3 email addresses
def find_or_create id
        find(id) || begin
          item = klass.new(id: id)
          set << item
          item
        end
      end
def find_or_create id find ( id ) || begin item = klass . new ( id : id ) set << item item end end
For items with subitems that all live within the same table, eg a contact and it's 3 email addresses
For items with subitems that all live within the same table eg a contact and it ' s 3 email addresses
id