Closed peterberkenbosch closed 14 years ago
http://github.com/diwadm/ChainSelects/blob/master/lib/chain_selects/acts_as_chainable.rb#L73
This is hardcoded to "1", but is should be something like this:
conditions = (self.chain_select_conditions or ['?',true])
With Postgresql this renders an error, because it is expecting a boolean value, not an integer.
Thanks Peter. I'll have your patch uploaded this weekend.
http://github.com/diwadm/ChainSelects/blob/master/lib/chain_selects/acts_as_chainable.rb#L73
This is hardcoded to "1", but is should be something like this:
With Postgresql this renders an error, because it is expecting a boolean value, not an integer.