Find condition calculation

Don't try so hard:

   :conditions => 'n_passed_steps > n_failed_steps'

-Rob

Rob Biedenharn http://agileconsultingllc.com
Rob@AgileConsultingLLC.com

Assuming: 0..100 === pass_rate,

   :conditions => [ '(100.0 * n_passed_steps)/(n_passed_steps + n_failed_steps) > ?',
                    pass_rate ]

-Rob

Rob Biedenharn http://agileconsultingllc.com
Rob@AgileConsultingLLC.com