Skip to content

Instantly share code, notes, and snippets.

@jmoren
Created August 16, 2012 15:00
Show Gist options
  • Save jmoren/3370834 to your computer and use it in GitHub Desktop.
Save jmoren/3370834 to your computer and use it in GitHub Desktop.
associaton with tz lists
def tz_qcall_lists
TzQcallList.find(:all, :conditions => ['qcall_contact_list_id = ? AND qcall_contacts_count > 0', self.id])
end
@jmoren
Copy link
Author

jmoren commented Aug 16, 2012

Con eso, y no usando tz_qcall_lists para crear o buscar en otras situaciones, me pa que puedo (lo de reescribir el to_fxml no funco)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment