Created
August 6, 2013 05:38
-
-
Save mattfitzgerald/6162286 to your computer and use it in GitHub Desktop.
Counting birthday messages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Promotion.where(schedule_type: 'contact_relative', enabled: true).where("system_search_query like ?", '%date_of_birth%').count |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment