Created
January 25, 2017 02:12
-
-
Save exviva/d27919ce0fc4caa7d1ccc67a68674c28 to your computer and use it in GitHub Desktop.
Shameless querying
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
rates = Rate.where(hotel_id: 1, | |
room_type: '1 bed', | |
check_in_date: Date.today) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment