Skip to content

Instantly share code, notes, and snippets.

@felixflores
Created December 16, 2009 20:27
Show Gist options
  • Save felixflores/258132 to your computer and use it in GitHub Desktop.
Save felixflores/258132 to your computer and use it in GitHub Desktop.
named_scope :coming_soon,
:joins => :showtimes,
:having => 'showtimes.day > CURRENT_DATE'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment