search for: certificatedata

Displaying 1 result from an estimated 1 matches for "certificatedata".

2006 Jul 01
0
activerecord generating wrong syntax with postgresql
...ind(:first, :conditions => ["id = ?", options[:certificate_id]]) And this is the model: module SECA module Backend class Certificate < ActiveRecord::Base STATUS_VALID = 0 STATUS_REVOKED = 1 STATUS_EXPIRED = 2 has_one :data, :class_name => ''CertificateData'', :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...