Created
December 23, 2009 00:41
-
-
Save etozzato/262217 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| class Integration < Remote | |
| has_many :queries | |
| has_many :clicks, :finder_sql => 'SELECT DISTINCT clicks.* FROM clicks c, queries q WHERE c.query_id = q.id AND q.integration_id = #{id}' | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment