search for: status_revok

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

Did you mean: status_revoked
2006 Jul 01
0
activerecord generating wrong syntax with postgresql
...tions[:certificate_id]) If I change it to this, it works: bc = SECA::Backend::Certificate.find(: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, # :fore...