Displaying 1 result from an estimated 1 matches for "revoked_certif".
Did you mean:
revoked_certs
2006 Jul 01
0
activerecord generating wrong syntax with postgresql
...:foreign_key => ''certificate_id'', :dependent => true
#has_one :serial, :class_name => ''Serial'', :dependent => true,
# :foreign_key => ''issuer_id''
# 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'',
:fin...