Displaying 1 result from an estimated 1 matches for "valid_certif".
2006 Jul 01
0
activerecord generating wrong syntax with postgresql
...# User :finder_sql to find revoked, valid, etc
has_many :revoked_certificates, :class_name => ''Certificate'',
:finder_sql => ''SELECT * FROM certificates WHERE '' +
''STATUS = '' + STATUS_REVOKED.to_s
has_many :valid_certificates, :class_name => ''Certificate'',
:finder_sql => ''SELECT * FROM certificates WHERE '' +
''STATUS = '' + STATUS_VALID.to_s
has_many :certificates, :class_name => ''Certificate'',
:foreign_key...