search for: paid_and_delivered

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

2007 Mar 09
0
New plugin: Flagger
...paid update_attribute(:paid, false) # related tasks end end It gives you dynamic attribute-based methods similar to these. You can use certain negative prefixes to look for false values - Order.unpaid returns orders where paid is false - and chain attributes together, as in Order.paid_and_delivered, Cocktail.shaken_but_not_stirred, etc. More info here: http://blog.jcoglan.com/flagger/ I''d really appreciate a few people kicking its tyres in anything other than MySQL, or in Rails versions 1.0.x (is anyone still using those). Comments/bugs/test reports are always welcome. --~--~----...