Skip to content

Instantly share code, notes, and snippets.

@diago
Created November 15, 2011 15:14
Show Gist options
  • Save diago/1367309 to your computer and use it in GitHub Desktop.
Save diago/1367309 to your computer and use it in GitHub Desktop.
def self.get_with_items( id )
rma = Rma.get( id )
items = rma.items.all
_rma = rma.attributes
_rma[:items] = items
_rma
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment