Skip to content

Instantly share code, notes, and snippets.

@BobGu
Created August 21, 2014 20:25
Show Gist options
  • Save BobGu/fa571c2204269ca5333d to your computer and use it in GitHub Desktop.
Save BobGu/fa571c2204269ca5333d to your computer and use it in GitHub Desktop.
invoice
def invoice
repository.engine.invoice_repository.find_by('id', self.invoice_id)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment