Skip to content

Instantly share code, notes, and snippets.

@mikespokefire
Forked from radar/gist:2001701
Created March 8, 2012 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikespokefire/2001722 to your computer and use it in GitHub Desktop.
Save mikespokefire/2001722 to your computer and use it in GitHub Desktop.
def pending_orders?
orders.where(:status => Order::PENDING).exists?
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment